Re: Multiple Postscript Shaded Surface Plots [message #7357] |
Mon, 11 November 1996 00:00  |
Arno F. Granados
Messages: 8 Registered: August 1996
|
Junior Member |
|
|
Walid Atia <atia@wam.umd.edu> wrote:
> Hi,
>
> I've been having a bit of trouble getting multiple shaded surface plots
> on a page. I tried using the !P.MULTI variable, but then the shaded
> surface plots come out warped (they seem to be elongated in the
> horizontal direction). Is there any way to draw multiple shaded surface
> plots on a page using the postscript device while maintaining the
> correct aspect ratio?
You can explicitly specify the page location of each plot using the
position Keyword in the call to plot. Set the !p.multi, and then
use something like:
plot,y,position=[1000,1000,6000,6000],/device
This will use the Postscript device coordinates (1000 units = 1cm on the page).
The lower left corner is 0,0 and the 4 elements of the array in position are
x0,y0,x1,y1 This allows for very precise control of the plot positioning and
aspect ratio.
> Also, is it possible to write a tiff image of a
> shaded surface (tiff_write is only for tv images)?
If all else fail, you should be able to display the plot on the screen,
and then do a tvrd() call, you can then write the saved array to
a tiff image file.
Hope this helps.
-Arno
granados@possys.com
|
|
|