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

Home » Public Forums » archive » positioning oplots
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
positioning oplots [message #450] Tue, 04 August 1992 10:24 Go to previous message
jat is currently offline  jat
Messages: 4
Registered: August 1992
Junior Member
Does anyone know how to position 'oplots' ?

I'm trying to analyze time-series data by plotting locations and
animating against time.

My particular problem arises when I have more than one plot
per window (setting !p.multi to something other than 0).

At the starting frame, I 'plot' the axes with '/nodata'. I
also save the axis endpoints from !x(y).window, in an array.

In subsequent frames I 'oplot' the data, erase it after a delay,
and 'oplot' the next frame. I try to position the data into its
respective plot by using 'position' in the 'oplot' routine with
'position' set to the saved axes for that plot. I use 'oplot' because
it's somewhat faster than 'plot', I only need to change the data, not the
axes, and it gets rid of the flickering associated with 'plot' in a loop.

Result: all my plots for subsequent frames end up in the last
plot. 'position' seems to have no effect.

Some solutions I've tried:
(1) Setting !p.position to the axes endpoints before
calling 'oplot'... Same result.
(2) I only really generate just one column of plots,
Thus I figured that I can adjust the data to appear on a plot other
than the last one while it is still relative to the last plot. This
sort of works, but I can tell my data is off a little bit.

If anyone has any suggestions or solutions, please e-mail to me.
--
Jatinder Singh 916-653-7564
jat@water.ca.gov ...ucbvax!ucdavis!caldwr!jat
Any opinions expressed are my own; they do not represent the DWR.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: positioning oplots
Next Topic: IDL Style Guide, Automatic Formatting

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

Current Time: Sun Oct 12 07:25:20 PDT 2025

Total time taken to generate the page: 0.96212 seconds