How to Draw Curve Graphs

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Vijay Kumar

How to Draw Curve Graphs

Post by Vijay Kumar » Fri Feb 01, 2002 8:38 am

How to create Curves using the JGraphs, Please give me a suggestion.

I am using XYChart, but its drawing Line graph, instead of curves,please suggest.


B.V.Vijay Kumar

David Gilbert

Re: How to Draw Curve Graphs

Post by David Gilbert » Fri Feb 01, 2002 3:38 pm

Hi Vijay,

The XYDataset is just a collection of points, and the standard plot just draws lines between them.

This probably isn't ideal if you are looking for plots of functions for mathematical applications. If that's what you are looking for, then PtPlot (there's a link towards the bottom of the JFreeChart page) is stronger than JFreeChart in that area.

Regards,

DG.

Vijay Kumar

Re: How to Draw Curve Graphs

Post by Vijay Kumar » Fri Feb 08, 2002 9:53 am

Hi Gilbert,

Thanks for your information. I'll do the best with PtPlot.

Thanks once again.






Regards,
Vijay

Locked