Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Re: Plot continuous line when have missing data points
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
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