Java 3D plot library?

Zenzen picture Zenzen · Nov 16, 2009 · Viewed 37.6k times · Source

Ok so I'm doing a project on visualization of some financial stuff in java, the main objective is to take some input from the stock market, run it through a few equations and then plot the result as a 3D plot. I have almost everything done BUT the visualization (which is the most important I guess).

At first I was thinking about using java3d, but I'm running short on time and I don't really have the time to learn it. Is there any really simple library for visualizing 3D stuff in java (I need stuff like zooming, rotating etc.).

I found jmathtools (which looked perfect) but for some reason it doest want to compile.

Answer

timaschew picture timaschew · Jul 12, 2011

I try to make a summary and show a simple and effective way for creating plots (2d and 3d)

  • JFreeChart is a great tool but there are not 3d charts.
  • jzy3d can create realy amazing 3d charts, but you need third-party libraries and especially native platform-dependant libs, because it uses JOGL. I have a Mac with Snow Leopard (64bit) and there realy some terrible issues (I could not solve it). I think SWT+64 bit Mac OS X is the problem.
  • JMathTools is a smaller tool than the others, but the performance is bad with big datasets.
  • Surface Plotter is a realy nice tool, there are many 3d options and it don't uses JOGL or anything like this.

  • In My Alternative, I use a nice, user-friendly Java API (JavaPlot) which based on Gnuplot. In my example on github I add a mouse motion listener to a JPanel for interactive rotating a 3d chart. When you have Gnuplot experience, you can use the power of Gnuplot in any Java application.