Limit Plotted Data by Unplotted Data

Limit Plotted Data by Unplotted Data

Post by Rob Crave » Fri, 25 Jul 2003 06:53:56



Is it possible given a data set such as:

2003-06-20 19:56:36 38.4853 76.3642  0.65   1.00   3.6   340 22.3
2003-06-21 00:51:04 38.4855 76.3642  0.44   0.74   2.9   345 21.8
2003-06-21 02:30:42 38.4853 76.3642  0.58   0.96   3.1   340 21.6

to plot data from columns 4 and 3 excluding those lines where columns 1
& 2 (collectively a date value) fall outside of a range?

I tried this:

plot 'file.dat' using 4:( ( $1 > '2003-07-20 21:21:00' && $1 <
'2003-07-23 21:21:00' ) ? $3 : 1/0)

but to no avail.  Any help would be greatly appreciated.

 
 
 

Limit Plotted Data by Unplotted Data

Post by Hans-Bernhard Broeke » Fri, 25 Jul 2003 18:53:19



> Is it possible given a data set such as:
> 2003-06-20 19:56:36 38.4853 76.3642  0.65   1.00   3.6   340 22.3
> 2003-06-21 00:51:04 38.4855 76.3642  0.44   0.74   2.9   345 21.8
> 2003-06-21 02:30:42 38.4853 76.3642  0.58   0.96   3.1   340 21.6
> to plot data from columns 4 and 3 excluding those lines where columns 1
> & 2 (collectively a date value) fall outside of a range?

For other "decision values" that would be easier, but since your columns
1+2 hold time/date values, that won't work.  There's simply no way you can
inform gnuplot that columns 1 and 2 of your data file are time/date values
in a particular format unless you actually use them in the plot.

Generally, date/time data and extended using specifications don't mix.

I suspect you'll have to do this outside gnuplot (or change your datafile
format).

--

Even if all the snow were burnt, ashes would remain.

 
 
 

1. Plot page size and data limits...

I have two questions I was hoping someone could help me with. I've looked in
the faq and the manual and didn't find these addressed.

First, is there a way to change the default page/plot dimenstions in
gnuplot?  I'd like to generate a plot for legal or 11x17 paper, or better
yet, a plot to print on a large format plotter (several feet in width and
arbitrary length).

Second, I've been amazed at gnuplots ability to plot large data sets.
Unfortunately, I managed to kill it on a 3 month data file with 1 second
samples.  I assume this is largely due to an insufficient amount of ram on
my machine and not some other limit in gnuplot.    My question is simply,
will a memory addition do the trick, or are there some hard limits to the
number of data points gnuplot can plot?
Or is there perhaps a better way to make a plot of this magnitude?

Thanks in advance,

-Val

2. How to set the UIDPATH variable ? (UIL question)

3. contour plotting of non-uniform data (or randomly scattered data)

4. Where to get Garamond(W1) Font

5. plotting multiple graph from nultiple data set within one data file

6. Shareware/Freeware Rendering Modeling program

7. Labeling data plotted from data files

8. 3dmf

9. Don't plot missing data in a timeseries line plot

10. plotting 2 timeseries data files on one plot with pre3.6/pl273

11. OpenGL Optimizer opviz: data size limits?

12. Limiting multi-layer storage of real data

13. Limit on columns of data??