Code Comments
Programming Forum and web based access to our favorite programming groups.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?"
Post Follow-up to this messageZebee 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
Post Follow-up to this messageIn 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 mcse.ms - Unlimited-Uncensored-Secure Usenet News==- --- http://www.mcse.ms The #1 Newsgroup Service in the World! >100,000 New sgroups ---= East/West-Coast Server Farms - Total Privacy via Encryption =---
Post Follow-up to this messageIn 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
Post Follow-up to this messageIn 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 mcse.ms - Unlimited-Uncensored-Secure Usenet News==- --- http://www.mcse.ms The #1 Newsgroup Service in the World! >100,000 New sgroups ---= East/West-Coast Server Farms - Total Privacy via Encryption =---
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.