Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

charting data
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?"

Report this thread to moderator Post Follow-up to this message
Old Post
Zebee Johnstone
12-29-04 01:56 PM


Re: charting data
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

Report this thread to moderator Post Follow-up to this message
Old Post
Shawn Corey
12-29-04 08:57 PM


Re: charting data
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 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 =---

Report this thread to moderator Post Follow-up to this message
Old Post
Jim Gibson
12-29-04 08:57 PM


Re: charting data
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

Report this thread to moderator Post Follow-up to this message
Old Post
Zebee Johnstone
12-30-04 01:57 AM


Re: charting data
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 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 =---

Report this thread to moderator Post Follow-up to this message
Old Post
Jim Gibson
12-30-04 01:57 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Miscellaneous archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 08:40 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.