Can JFreeChart plot (x,y, value) data?
Can JFreeChart plot (x,y, value) data?
Hi,
I have a dataset like this (x, y, value).
Can I use JFreechart to plot it?
For instance, in a XYScatterPlot,
draw the size or color of the node relative to the "value"?
Or any other type of chart?
Thanks for your attention.
I have a dataset like this (x, y, value).
Can I use JFreechart to plot it?
For instance, in a XYScatterPlot,
draw the size or color of the node relative to the "value"?
Or any other type of chart?
Thanks for your attention.
The waferchart is highly specialized. I doubt it is designed to be customized easily and so it is not covered by demos nor guide.iper wrote:Can I use wafermap?
You might take a look but I don't think it will do the job.
But you also might take a look at the contour plots:
http://www.jfree.org/phpBB2/viewtopic.php?t=17831
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
You might also want to take a look at the XYBlockRenderer class in the org.jfree.experimental.chart.renderer.xy.* package (there are a few demos in org.jfree.experimental.chart.demo.* as well). I'd like to get this code polished up and transferred across to the "official" packages, so any feedback is welcome. The main thing that is missing for it right now, is an item to display a scale for the z-values.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


3D plots?
I looked through all the APIs but couldnt find anything that could help to a 3D contour map, something that looks like a mountain (or even better, a colored mountain.)
Does JFreeChart do such 3D graphs? If not, are there any free solutions out there which can do this?
Thanks
Does JFreeChart do such 3D graphs? If not, are there any free solutions out there which can do this?
Thanks
No, JFreeChart doesn't do 3D graphs. It might someday.
You might take a look at the other open source charting libs in the FAQ.
(p.s. in the future start new threads for new questions, don't bump ancient threads)
You might take a look at the other open source charting libs in the FAQ.
(p.s. in the future start new threads for new questions, don't bump ancient threads)
-
- Posts: 844
- Joined: Fri Oct 13, 2006 9:29 pm
- Location: Sunnyvale, CA
Re: 3D plots?
There is a ContourPlot class that may be what you are looking for. It does not make the "mountain" view, but it does shade the point based upon the z-value. The data is stored in a ContourDataset (api linked off the ContourPlot page). I have not heavily used this class, so I do not know all the implementation details. Looking at a demo might help. I cannot point you to a specific demo since I am not at my normal computer and do not have access to the code/app.saif wrote:I looked through all the APIs but couldnt find anything that could help to a 3D contour map, something that looks like a mountain (or even better, a colored mountain.)
JFreeChart mostly focuses on charts created from 2-dimensional input data. There are several exceptions including the ContourPlot. If you are looking for something like Excel's 3-dimension bar charts based on (x, y, z) ordered-triples, you will need to find another project to do these. Several do exist out there, but I cannot recommend one for you since they have various capabilities. I would recommend a Google search and see which meets your needs the best.saif wrote:Does JFreeChart do such 3D graphs? If not, are there any free solutions out there which can do this?
Hope that helps get you started,
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA