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

Home » Public Forums » archive » Completely omit NaNs from line plot
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Completely omit NaNs from line plot [message #93266] Tue, 24 May 2016 17:19 Go to previous message
laura.hike is currently offline  laura.hike
Messages: 87
Registered: September 2013
Member
Hi,

I have some solar irradiance data. All the nighttime values are set to NaN so that they won't be used in any calculations. I would like to plot a section of the time series but not include any of the points that are NaNs. That is, normally plot won't make any mark for the time when there is a NaN, but I want to completely skip these points because they just make the plot twice as long as necessary. Is there any way to do this other than creating a new array without those points?

Thanks,

Laura
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL Morph structuring element
Next Topic: Adding line to a barplot

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

Current Time: Wed Oct 08 14:11:32 PDT 2025

Total time taken to generate the page: 0.00415 seconds