XYZ Plots

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
StanAccy
Posts: 5
Joined: Fri Jun 20, 2008 6:47 pm

XYZ Plots

Post by StanAccy » Fri Jun 20, 2008 6:51 pm

I'm trying to plot 3D data (X/Y graph over a series of days).
While I see that JFreeChart has an XYZDataset (along with a nice comment in the source code about yet-to-be-implemented 3D support), what are the plans, if any, to develop a 3D chart that would be capable of displaying this data?

Is this still a work in progress, or have plans been shelved for this?

Regards

N

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: XYZ Plots

Post by paradoxoff » Sun Jun 22, 2008 8:40 am

StanAccy wrote: While I see that JFreeChart has an XYZDataset (along with a nice comment in the source code about yet-to-be-implemented 3D support)
I must have missed this "nice comment". :?:
For 3D data you can use the DefaultXYZDataset or you your own implementation. In order to make the 3rd dimentions visible, you need to assign a suitable renderer to that dataset. Please see
http://www.jfree.org/jfreechart/api/jav ... derer.html
and
http://www.jfree.org/jfreechart/api/jav ... derer.html

StanAccy
Posts: 5
Joined: Fri Jun 20, 2008 6:47 pm

Post by StanAccy » Mon Jun 23, 2008 1:06 pm

Many thanks for the reply. Ill look into the 3Dbar, but I'm looking to produce a surface plot.

Maybe a bar chart, with a thin enough bar, and clear XY sides (just leaving the top and bottom surfaces filled) will suffice.


A 3D surface plot chart would be a great addition :-)

matinh
Posts: 483
Joined: Fri Aug 11, 2006 10:08 am
Location: Austria

Post by matinh » Tue Jun 24, 2008 9:04 am

Hi!

Have a look at David's blog for some ideas about JFreeChart's 3D Supoport:
http://www.jroller.com/dgilbert/entry/a ... eechart_3d

hth,
- martin

StanAccy
Posts: 5
Joined: Fri Jun 20, 2008 6:47 pm

Post by StanAccy » Tue Jun 24, 2008 12:58 pm

I did - this is what prompted my initial question. The stuff back last July looked great, but I didn't see any demos of the 3D stuff in the latest JFreeChart.
The graph manipulation in 3D space was especially cool.

However, one of the graph examples on david's blog looked like a surface plot, and this is what I'm trying to achieve here. The discontinuities in the 3D bar graph prevents its use - we are looking for spikes across the plane and a bar chart isn't the easiest format in which to detect these.

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Jun 24, 2008 1:25 pm

I really do want to get back to the 3D stuff, and I expect it to happen this year...but right now I'm working on a few other tasks which are kind of important (to me anyway).
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

StanAccy
Posts: 5
Joined: Fri Jun 20, 2008 6:47 pm

Post by StanAccy » Tue Jun 24, 2008 4:39 pm

Thanks for the update - I just wanted to check that I wasn't overlooking this functionality in the latest distribution.

martin.pernollet
Posts: 11
Joined: Sun Dec 27, 2009 4:18 pm
antibot: No, of course not.

Re:

Post by martin.pernollet » Mon Dec 28, 2009 10:17 pm

StanAccy wrote:Many thanks for the reply. Ill look into the 3Dbar, but I'm looking to produce a surface plot.

Maybe a bar chart, with a thin enough bar, and clear XY sides (just leaving the top and bottom surfaces filled) will suffice.


A 3D surface plot chart would be a great addition :-)
This might help :)

http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=29620

Locked