[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuplot-info
Subject:    Re: how to handle missing values?
From:       crawford richard <u600256 () gamma ! lanl ! gov>
Date:       1998-12-16 0:11:44
[Download RAW message or body]

On Tue, 15 Dec 1998 Rene Reitsma <reitsma@mist.colorado.edu> wrote:

> When I plot multiple timeseries (each at a different frequency; e.g.,
> one minute, five minute, fifteen minute) on the same linegraph, I need to
> distinguish between points not available and points missing.
> 
> For example, in the following section of a datafile I have a 1-minute
> and a 5-minute timeseries. This works fine in that the 5-minute series
> is plotted with straight lines connecting each measurement:
> 
> 05/12/98*05:00 -0.33 5.59
> 05/12/98*05:01 -0.35 
> 05/12/98*05:02 -0.36  
> 05/12/98*05:03 -0.39 
> 05/12/98*05:04 -0.41
> 05/12/98*05:05 -0.42 6.02
> 05/12/98*05:06 -0.43
> 05/12/98*05:07 -0.44
> 05/12/98*05:08 -0.46
> 05/12/98*05:09 -0.46
> 05/12/98*05:10 -0.48 5.92
> 
> However, what if I want to indicate that part of the 1-minute timeseries
> is missing and that hence the line for the 1-minute sensor must have a gap?
> 
> 1. If I just leave the 1-minute data point out, the 5-minute data point is
>    the first datapoint on the line and hence it is interpreted as a 1-minute
>    datapoint.
>    
> Is there a way to explicitly mark a datapoint as "missing"; i.e. is there a     
>  
>    value (e.g. NaN) which will suppress plotting for that datapoint (the        
>  
>    resulting line has a gap)?

There is the command "set missing" that just might fill the bill ...


Dick Crawford, aka rccrawford@lanl.gov
 - -
[[[[ to unsubscribe from info-gnuplot, send an email with body
unsubscribe info-gnuplot
to majordomo@dartmouth.edu
]]]]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic