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


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

plotting csv data with some empty regions

From adam.preble@gmail.com
Newsgroups comp.graphics.apps.gnuplot
Subject plotting csv data with some empty regions
Date 2012-07-08 23:22 -0700
Organization http://groups.google.com
Message-ID <4da4658a-e464-4abb-bb5f-d13b3494d958@googlegroups.com> (permalink)

Show all headers | View raw


I was hoping to do a line plot for some time-domain data that looks something like this:

1,,
3,,
4,,
2,,
3,,
4,1,5
2,2,7
3,1,
2,1,
5,,

With:
plot 'stuff.csv' with lines

I get the first column fine.

Let's try:
plot 'stuff.csv' using 1:3 with lines
                                ^
         warning: Skipping data file with no valid points
                                                   ^
         x range is invalid

I am hoping for something that will start plotting the other lines when they become relevant, and stops plotting them as their data regions go stale again.  Is this readily possible?  I had pondered just popping in zeroes, but in the expanded set this becomes horrific to read; the chops when it transitions to/from zero make the plots useless.

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


Thread

plotting csv data with some empty regions adam.preble@gmail.com - 2012-07-08 23:22 -0700
  Re: plotting csv data with some empty regions antar3s86@gmail.com - 2012-07-09 05:40 -0700
    Re: plotting csv data with some empty regions adam.preble@gmail.com - 2012-07-10 07:12 -0700
      Re: plotting csv data with some empty regions sfeam <sfeam@users.sourceforge.net> - 2012-07-10 12:28 -0700

csiph-web