comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Multiple Postscript Shaded Surface Plots
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Multiple Postscript Shaded Surface Plots [message #7357] Mon, 11 November 1996 00:00 Go to previous message
Arno F. Granados is currently offline  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
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Listing called functions in .pro file
Next Topic: window events

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:22:47 PDT 2025

Total time taken to generate the page: 0.00408 seconds