Home > Archive > PERL Miscellaneous > December 2004 > charting data
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Zebee Johnstone 2004-12-29, 8:56 am |
| I have several - 3 to 20 - sets of data. Each has the same x-axis and
y-axis bounds. Each consists of the x axis - time - and a y axis between
80 and 180 with 2 sets of data, a max and an average, to be plotted.
I would like to create a chart which has each data set in a separate
space, one under the other - somethig I am not going to try and do in
ascii art!
png format is fine.
THe idea is to be able to see how the datasets change in relation to
each other, how the data changes from day to day, each dataset being a
day's worth of data.
Chart::Strip looks to be suitable, except that it's not really set up
to have the separate datasets plotted next to each other but separated
in the way I want as far as I can see.
Can any one suggest a way to attack this problem?
Should I just say bugger it, produce each day separately, put them one
under the other on a webpage and print that?
Zebee
--
Zebee Johnstone (zebee@zip.com.au), proud holder of
aus.motorcycles Poser Permit #1.
"Motorcycles are like peanuts... who can stop at just one?"
| |
| Shawn Corey 2004-12-29, 3:57 pm |
| Zebee Johnstone wrote:
> Can any one suggest a way to attack this problem?
>
> Should I just say bugger it, produce each day separately, put them one
> under the other on a webpage and print that?
>
> Zebee
>
>
You could try GD and GD::Graph. I haven't tried anything like this
myself but you could create a separate GD object for each chart and then
use GD to combine them into one big PNG file.
You will have to download and compile some binary libraries. These are
documented in the README files for GD and GD::Graph.
--- Shawn
| |
| Jim Gibson 2004-12-29, 3:57 pm |
| In article <slrnct4vgv.9dl.zebee@zeus.zipworld.com.au>, Zebee Johnstone
<zebee@zip.com.au> wrote:
> I have several - 3 to 20 - sets of data. Each has the same x-axis and
> y-axis bounds. Each consists of the x axis - time - and a y axis between
> 80 and 180 with 2 sets of data, a max and an average, to be plotted.
I usually use gnuplot for tasks like this, oftentimes with data
generated by perl and under the control of a perl program. It will also
generate PNG plot files which could be loaded into a web page.
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
| |
| Zebee Johnstone 2004-12-29, 8:57 pm |
| In comp.lang.perl.misc on Wed, 29 Dec 2004 10:08:20 -0800
Jim Gibson <jgibson@mail.arc.nasa.gov> wrote:
> In article <slrnct4vgv.9dl.zebee@zeus.zipworld.com.au>, Zebee Johnstone
><zebee@zip.com.au> wrote:
>
>
> I usually use gnuplot for tasks like this, oftentimes with data
> generated by perl and under the control of a perl program. It will also
> generate PNG plot files which could be loaded into a web page.
>
But how to get gnuplot to generate data that is similar values but
plotted so they don't overlay?
Zebee
| |
| Jim Gibson 2004-12-29, 8:57 pm |
| In article <slrnct63vu.v8o.zebee@zeus.zipworld.com.au>, Zebee Johnstone
<zebee@zip.com.au> wrote:
> In comp.lang.perl.misc on Wed, 29 Dec 2004 10:08:20 -0800
> Jim Gibson <jgibson@mail.arc.nasa.gov> wrote:
>
> But how to get gnuplot to generate data that is similar values but
> plotted so they don't overlay?
>
> Zebee
Use the 'set multiplot' command along with 'set size' and 'set origin'
commands to place multiple plots above or beside each other. Please see
<http://www.gnuplot.info> for more information.
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
|
|
|
|
|