I'm using IDL v7.0 on Mac OS X v10.5.2 and have been having trouble with the image scaling in output to the postcript device. For example, if I run the following IDL script (with the image array already set):
set_plot, 'ps'
device, filename='test.ps'
device, xsize=4, ysize=4, /inches
tvscl, image, 0, 0, /inches, xsize=1, ysize=1
tvscl, image, 2, 0, /inches, xsize=1, ysize=1
As expected, this outputs two panels (offset in x) to the postscript file, each containing the same image. However, the extent of the image along the y axis is different in each panel (it's smaller in the right panel), despite having the same "ysize" in the code above. What's the problem here?
|