charting data

Z

Zebee Johnstone

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
 
S

Shawn Corey

Zebee said:
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
 
Z

Zebee Johnstone

In comp.lang.perl.misc on Wed, 29 Dec 2004 10:08:20 -0800
Jim Gibson said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,898
Members
47,439
Latest member
shasuze

Latest Threads

Top