LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   xmgrace - changing size of canvas (https://www.linuxquestions.org/questions/programming-9/xmgrace-changing-size-of-canvas-825821/)

disruptive 08-12-2010 10:47 AM

xmgrace - changing size of canvas
 
I have been increasing the size of my text labels and that seems to have pushed out the image somewhat I can get the following error when printing to file, i.e. converting to eps file:

Output is truncated - tune device dimensions

So how best do I change the size of the display region. It seems I cannot find anyway of changing the canvas size with ease and making it work such that I no longer get this error.

I have tried playing with the file itself i.e.:

@page size 892, 812

but this appears to do nothing to help at the edges. I basically want more room where the axes labels are to accommodate the extra text height.

Thanks.

conjugado 11-26-2014 07:54 AM

output truncated: be aware of world coordinates
 
I got the same error, and I finally identified the problem (at least in my case). There are at least three coordinates of reference
in xmgrace: the device coordinates, the viewport coordinates and the world coordinates. The viewport coordinates seems to be fixed
respect to the device coordinates. Thus, if you change the scale of your graphic (maybe because you are re-using a previous graphic
and the new data are set in a different scale) all the items in the graphic defined in viewport coordinates are automatically rescaled.

However, if you have any object such as the legend box, a line or text, defined in world coordinates, as soon as you load these new data
these objects will not be rescaled. And these objects are still there, in a different scale and far from the scale you are actually viewing.
Then, when you attempt to print your figure it detects that object that you are not seeing, and it is not able to handle it because the
resultant figure would be huge.

I hope this helps.


All times are GMT -5. The time now is 11:57 PM.