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

Home » Public Forums » archive » missing data
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: Missing Data [message #6630 is a reply to message #2244] Fri, 19 July 1996 00:00 Go to previous messageGo to previous message
hahn is currently offline  hahn
Messages: 108
Registered: November 1993
Senior Member
Erica Mushovic <mushovic@v2ma26.gsfc.nasa.gov> wrote:

> Hi,
> I have to plot data gaps. I know that there is a plotm routine in the
> user library that will plot missing data as long as there is a default
> value, however, my data has not default values. I know where the
> missing data occurs. For example, if I have an array of x(10) I know
> that I do not want to connect the points between x(3:4) and x(7:8).

If you have large arrays with contiguous data you may not want
to concept of NaN or MAXVALUE because you have to *insert*
data into an existing large arry. But as you have the intervals of
good data there is a simple solution. Given your numbers
you have to

Plot, x(0:3), y(0:3)
Oplot, x(4:7), y(4:7)
Oplat, x(8:9), y(8:9)

> Is
> there any way to plot that with the existing functions or with simple
> modifications to a user routine? I can think of a couple of ways to do
> that but those ways won't be practical with large data sets.

All you need is a loop which calls Plot for the first segment of
data and oplot for the remaining segments of data.

> Thank you.
> --
> Erica Mushovic

Hope this helps
Norbert
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Missing Data
Next Topic: Re: a BUG or not a BUG in IDL ?

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

Current Time: Wed Oct 08 15:28:03 PDT 2025

Total time taken to generate the page: 0.00456 seconds