tvimage, imcontour and ps dimensions [message #43542] |
Fri, 15 April 2005 08:57 |
burkina
Messages: 32 Registered: February 2005
|
Member |
|
|
Ciao,
I have a problem with ps output.
I have an astronomical image with some contours on it. I use tvimage
and imcontour.
So far so good.
I want to produce several similar (but different!) images with exactly
the same ps width and height size.
The ps file is created in the script in this way:
set_plot, 'ps'
device, filename='test.ps', xsize=20, ysize=20, /color
The problem is that in this way (of course no matter the x and ysize),
I get the y labels of the imcontour outside of the ps file, the image
is truncated at the axis.
It happens the same if I work on the screen, but if I resize it
manually and then retry an imcontour, after a few trial I get the right
result.
If then I use again the ps device, I also get all the image on the file
but, since I resize the screen manually, the actual size of the image
inside the ps is everytime different!
What am I doing wrong?
I only want to produce predictable size ps images with imcontour and
tvimage...
Thanks,
Stefano
|
|
|