For Programmers: Free Programming Magazines  


Home > Archive > Java Help > July 2004 > Plotting data series in Java









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]

 

Author Plotting data series in Java
HansO

2004-07-28, 9:09 pm

Hi,

I have data in (x,y) pairs and want to plot them using Java.
I've read through the Graphics tutorial on Sun, but did not find what I was
looking for.

Based on previous treads I've found it seems like drawRect(x,y,0,0) is
a solution. But as of year 2004 and newer Java SDKs, maybe some better
solution has appeared?

Any ideas how to do this?

Thanks,
HansO


Roedy Green

2004-07-28, 9:09 pm

On Mon, 26 Jul 2004 20:44:05 GMT, "HansO" <anders@kommtek.com> wrote
or quoted :

>I have data in (x,y) pairs and want to plot them using Java.
>I've read through the Graphics tutorial on Sun, but did not find what I was
>looking for.


see http://mindprod.com/jgloss/graph.html
for links to some charting packages.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
RC

2004-07-28, 9:09 pm



HansO wrote:
> Hi,
>
> I have data in (x,y) pairs and want to plot them using Java.
> I've read through the Graphics tutorial on Sun, but did not find what I was
> looking for.
>
> Based on previous treads I've found it seems like drawRect(x,y,0,0) is
> a solution. But as of year 2004 and newer Java SDKs, maybe some better
> solution has appeared?


Sun doesn't have any chart package.
Try JFreeChart at

http://www.jfree.org/jfreechart/index.html

HansO

2004-07-28, 9:09 pm

"RC" <raymond.chui@noaa.gov> wrote: >

> HansO wrote:
was[color=darkred]
>
> Sun doesn't have any chart package.
> Try JFreeChart at
>
> http://www.jfree.org/jfreechart/index.html


Thanks for the advice. I've searched around a bit and found that JFreeChart
seems
very flexible and suited for the job. So I bought the JFreeChart developers
guide and it looks really good.

HansO



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com