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

Home » Public Forums » archive » Re: Multilayered 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: Multilayered plots [message #45048 is a reply to message #45043] Tue, 02 August 2005 11:19 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"Hrafnkell" <hrafnkellpalsson@hotmail.com> writes:
> Hello
>
> Every six hours i have to plot around 600 pictures from meteorological
> data (actually skewt diagrams) for weather forecast on the internet so
> efficient plotting routines are very desirable. Currently each picture
> is made in two phases, first a background is plotted (axes and some
> lines in the cartesian plane) with one routine and then that background
> is overplotted with another routine. The thing is that the background
> is the same for all of the pictures and it takes some time to plot so
> it's kinda stupid to plot it 600 times.
>
> You can see the pictures here
> http://www.os.is/~or/vedurspa/serkort.html by clicking one of the
> diamonds. The latter routine overplots the two fat irregular lines
> (blue and red).
>
> How can I weasel out of plotting the background every time? A routine

You could plot the background once and then save the draw window with
IMG = TVRD().

Then for each plot that you need to do, run "TV, IMG" and the
background will be returned to the original. The coordinate system is
preserved as long as you don't issue a PLOT or AXIS command, so you
can proceed to immediately OPLOT as much as you want.

In this case PLOTIMAGE is overkill because you've already established
the coordinate grid, and you don't need to rescale the image to fit
the draw window.

Craig
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: How to plot multiple charts and ho to round float to specific precision?
Next Topic: FastDL add-on for IDL now available

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

Current Time: Thu Oct 09 22:57:36 PDT 2025

Total time taken to generate the page: 0.48053 seconds