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

Home » Public Forums » archive » Re: Plot continuous line when have missing data points
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Plot continuous line when have missing data points [message #83358] Thu, 28 February 2013 13:40 Go to next message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
You can always try something along the lines of

IDL> ind = WHERE(FINITE(alt), count)
IDL> PLOTS, temp[ind], alt[ind], PSMY=-2

This assumes the NaN's occur in the same place in each array, of course.

Cheers,
Phillip
Re: Plot continuous line when have missing data points [message #83423 is a reply to message #83358] Fri, 01 March 2013 07:56 Go to previous message
morganlsilverman is currently offline  morganlsilverman
Messages: 46
Registered: February 2013
Member
Phillip,

Thank you very much. Took some playing around to get it to work but this is exactly what I needed. I've never used the finite command before or PLOTS much.

Sincerely,
Morgan


On Thursday, February 28, 2013 4:40:39 PM UTC-5, Phillip Bitzer wrote:
> You can always try something along the lines of
>
>
>
> IDL> ind = WHERE(FINITE(alt), count)
>
> IDL> PLOTS, temp[ind], alt[ind], PSMY=-2
>
>
>
> This assumes the NaN's occur in the same place in each array, of course.
>
>
>
> Cheers,
>
> Phillip
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Undocumented functions in IDL
Next Topic: Overplot contour on previously stablished coordinates

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

Current Time: Wed Oct 08 17:11:40 PDT 2025

Total time taken to generate the page: 0.00494 seconds