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 #6641 is a reply to message #2244] Thu, 18 July 1996 00:00 Go to previous messageGo to previous message
Andy Loughe is currently offline  Andy Loughe
Messages: 174
Registered: November 1995
Senior Member
Erica Mushovic 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). 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.
>
> Thank you.
> --
> Erica Mushovic



Does this example work for you?

x = indgen(10) ; Create a data array.
x(2) = -99. & x(7) = -99. ; Assign missing data values.
x (where (x lt -50)) = 999. ; Change missing data points to large values.
plot, x, max=500. ; Use the max_value keyword.


--
Andrew F. Loughe afl@cdc.noaa.gov
University of Colorado, CIRES http://cdc.noaa.gov/~afl
Campus Box 449 phn:(303)492-0707 fax:(303)497-7013
Boulder, CO 80309-0449 "He who laughs last thinks slowest!"
[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 19:30:52 PDT 2025

Total time taken to generate the page: 0.00188 seconds