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


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

sorting data within gnuplot

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From bryan <bryanlepore@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject sorting data within gnuplot
Date Sat, 17 Mar 2012 17:02:21 -0700 (PDT)
Organization http://groups.google.com
Lines 32
Message-ID <33103250.3287.1332028941705.JavaMail.geo-discussion-forums@vbbed8> (permalink)
NNTP-Posting-Host 24.62.36.14
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Trace posting.google.com 1332028941 11943 127.0.0.1 (18 Mar 2012 00:02:21 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Sun, 18 Mar 2012 00:02:21 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=24.62.36.14; posting-account=PtxH9gkAAAAGMw6wJDvB_vinyKd1zCKS
User-Agent G2/1.0
X-Received-Bytes 1873
Xref csiph.com comp.graphics.apps.gnuplot:983

Show key headers only | 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