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

Home » Public Forums » archive » Re: plotting data as it arrives using objects
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: plotting data as it arrives using objects [message #44321 is a reply to message #44317] Mon, 06 June 2005 10:22 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
clive_cook wrote:

> I am trying to write an object based program which collects lidar data
> and plots the data as it arrives. I previously did this with direct
> graphics plotting each profile as it arrived, which would produce a
> contour plot. This was done by using the plots command and by scalling
> the data with a chosen colour table using the BYTSCL command.
>
> I would like to do something similar with objects. I guess one way wold
> be to create a new profile using the idlgrplot object however we would
> be collecting several thousand lidar profiles over several hours and i
> can't imagine that you could create as many objects.

When it comes to plotting something like this in OG, you don't overplot.
You update your data and "draw". So you have your array of data which
as it changes you'll pass to your contour object and then redraw.
Something like:

oContour -> SetProperty, DATA=myUpdatedData
oView -> Draw, oWindow

Or you could create a surface plot, which is what I think you're
after... Whatever grObject you decide to go with, the concept is the same.

You may want to look at David Fanning's offerings. I know he has an
example of an interactive surface plot in OG. It might be a good place
for you to start.

Good luck!

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: mosaic two images in direct graphics
Next Topic: Bring window to front of screen on Windows

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

Current Time: Sun Oct 12 12:28:45 PDT 2025

Total time taken to generate the page: 1.11918 seconds