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


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

sorting data within gnuplot

From bryan <bryanlepore@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject sorting data within gnuplot
Date 2012-03-17 17:02 -0700
Organization http://groups.google.com
Message-ID <33103250.3287.1332028941705.JavaMail.geo-discussion-forums@vbbed8> (permalink)

Show all headers | View raw


[ gnuplot 4.6 ]

I have some data like this:

06 03 2012  14.00
06 03 2012 234.22
17 03 2012   1.00
17 03 2012  23.01
17 03 2012  66.23

... so that's date vs. cost. I would like to have gnuplot automatically shift the plot over a little on the x-axis for the next cost on a given date. as is, the costs all line up on one impulse (for example). so with impulses, it would be nice to see perhaps (if fixed-width font works here):

             o
o            |
|o          o|
||o       o|||o    o        <---- does not correspond to example above
|||       |||||    |
-----------------------
06/03     17/03   18/03

if gnuplot can recognize the record number akin to awk, that might work ...

... HOWEVER I think instead I must adjust my data to be amenable to histograms. in particular, inserting a column to identify each expenditure somehow.

Any suggestions appreciated.

-Bryan

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


Thread

sorting data within gnuplot bryan <bryanlepore@gmail.com> - 2012-03-17 17:02 -0700

csiph-web