Per comments (and source), you could set the size and position of xmgrace
in your $HOME/.Xdefaults
file:
XMgrace*geometry: 1050x750
or (more specific)
XMgrace*mainWin.geometry: 1050x750
depending on how it uses the geometry
resource during initialization.
The FAQ does not give more than a hint of the available resources, but is pretty clear that the classname is XMgrace
. To get a complete list of resources, you'd have to read the source-code, which (for instance) in /src/xmgrace.c
has
String fallbackResourcesHighRes[] = {
"XMgrace*mainWin.width: 680",
"XMgrace*mainWin.height: 700",
"XMgrace*fontList:-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
"XMgrace.consoleDialog*text.fontList:-*-courier-medium-r-normal-*-12-*-*-*->
"XMgrace*HContainer.marginHeight: 3",
"XMgrace*VContainer.marginHeight: 3",
NULL
};
It decides to use that based on the screensize:
screen = DefaultScreenOfDisplay(disp);
if (HeightOfScreen(screen) < 740) {
lowres = TRUE;
}
and (seeing no command-line arguments in the source) is configurable only using X resources. The -geometry
option is a standard X toolkit option, used by other programs such as xterm.
xmgrace -geometry 1000x1000 myplot.agr
– Duhonxmgrace
toxmgrace -geometry 1050x750
as a workaround and have thus indirectly solved my problem. Thanks! – Information