Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3902

Re: Missing points in multi line plot not being omitted

X-Received by 10.36.68.196 with SMTP id o187mr17020313ita.41.1520519707451; Thu, 08 Mar 2018 06:35:07 -0800 (PST)
X-Received by 10.157.95.23 with SMTP id f23mr788817oti.12.1520519707260; Thu, 08 Mar 2018 06:35:07 -0800 (PST)
Path csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!e10no702726itf.0!news-out.google.com!a2ni2279ite.0!nntp.google.com!e10no702723itf.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Thu, 8 Mar 2018 06:35:07 -0800 (PST)
In-Reply-To <p7r3t7$mhq$1@dont-email.me>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=198.180.133.100; posting-account=WO9xuAoAAACcTNJy3OoKjwl95JzG1-AA
NNTP-Posting-Host 198.180.133.100
References <e3db9e9a-e4f1-44e3-99e4-704d0d59380f@googlegroups.com> <p7r3t7$mhq$1@dont-email.me>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <97425965-67e4-4299-a0e5-54e6d70e5789@googlegroups.com> (permalink)
Subject Re: Missing points in multi line plot not being omitted
From Marius Schamschula <mschamschula@gmail.com>
Injection-Date Thu, 08 Mar 2018 14:35:07 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Received-Bytes 2511
X-Received-Body-CRC 1882191015
Lines 29
Xref csiph.com comp.graphics.apps.gnuplot:3902

Show key headers only | View raw


On Thursday, March 8, 2018 at 4:39:37 AM UTC-6, Jörg Buchholz wrote:
> On 07.03.2018 19:33, Marius Schamschula wrote:
> > I'm trying to make a plot of wind speed and wind gusts. The data for wind gusts is not continuous. If I use datafile missing on the wind gust data by itself, things work as expectedly, but if I try to plot gusts along with wind speed, gusts data are shown for times where there is no data. The plot omits gusts data at the beginning and end, but in the middle line segments are drawn where they should not. For example
> > 
> > set datafile missing NaN
> > set grid
> > set time
> > set xdata time
> > set timefmt "%Y-%m-%d:%H:%M:%S"
> > unset timestamp
> > plot '-' u 1:2 t 'Wind' w lines lt rgb "blue", '-' u 1:3 t 'Gust' w lines
> 
> 
> You can (or must?) use the following syntax to get a gap on the plot:
> plot '-' u 1:($2) t 'Wind' w lines lt rgb "blue", '-' u 1:($3) t 'Gust'
> w lines
> 
> Write in the plot command for the "Y-column" ($2), as example for column
> 2 as Y-value.
> 
> Jörg

Given the example in the documentation, I also have tried just that syntax. The result: no plot at all.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Missing points in multi line plot not being omitted Marius Schamschula <mschamschula@gmail.com> - 2018-03-07 10:33 -0800
  Re: Missing points in multi line plot not being omitted Jörg Buchholz <bookwood4new@freenet.de> - 2018-03-08 11:39 +0100
    Re: Missing points in multi line plot not being omitted Marius Schamschula <mschamschula@gmail.com> - 2018-03-08 06:35 -0800
      Re: Missing points in multi line plot not being omitted Chris Elvidge <chris@mshome.net> - 2018-03-08 16:24 +0000
      Re: Missing points in multi line plot not being omitted Jörg Buchholz <bookwood4new@freenet.de> - 2018-03-08 20:10 +0100
        Re: Missing points in multi line plot not being omitted Ethan Merritt <sfeam@users.sf.net> - 2018-03-08 19:54 +0000
        Re: Missing points in multi line plot not being omitted Chris Elvidge <chris@mshome.net> - 2018-03-08 20:40 +0000
  Re: Missing points in multi line plot not being omitted Marius Schamschula <mschamschula@gmail.com> - 2018-03-09 10:48 -0800
    Re: Missing points in multi line plot not being omitted Jörg Buchholz <bookwood4new@freenet.de> - 2018-03-09 21:09 +0100
      Re: Missing points in multi line plot not being omitted Ethan A Merritt <EAMerritt@gmail.com> - 2018-03-09 23:18 -0800
        Re: Missing points in multi line plot not being omitted Jörg Buchholz <bookwood4new@freenet.de> - 2018-03-10 10:57 +0100
          Re: Missing points in multi line plot not being omitted Chris Elvidge <chris@mshome.net> - 2018-03-10 11:09 +0000
            Re: Missing points in multi line plot not being omitted Jörg Buchholz <bookwood4new@freenet.de> - 2018-03-10 17:40 +0100
              Re: Missing points in multi line plot not being omitted Chris Elvidge <chris@mshome.net> - 2018-03-10 17:01 +0000
                Re: Missing points in multi line plot not being omitted Jörg Buchholz <bookwood4new@freenet.de> - 2018-03-11 09:47 +0100
                Re: Missing points in multi line plot not being omitted Chris Elvidge <chris@mshome.net> - 2018-03-11 10:41 +0000

csiph-web