Java的3D绘图库? [英] Java 3D plot library?

查看:690
本文介绍了Java的3D绘图库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好了,所以我做的一些财务的东西在Java可视化的一个项目,主要目标是采取一些投入股市,通过一些公式运行它,然后绘制结果作为3D绘图。我所做的几乎一切,但可视化(这是最重要的我猜的)。

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).

起初我想使用Java3D的,但我的时间所剩无几,我真的没有时间去学习它。是否有3D可视化的东西在Java中任何非常简单的库(我需要的东西,如缩放,旋转等)。

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.).

我发现jmathtools(它看起来完美的),但由于某种原因,所行的事要编译。

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

推荐答案

我尝试做一个总结,并显示建立情节简单而有效的方法(2D和3D)

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

  • 的JFreeChart 是一个伟大的工具,但目前还没有3D图表。
  • jzy3d 可以创建真的令人惊叹的3D图表,但您需要的第三方库,尤其是本地平台相关的库,因为它使用JOGL。我有一个苹果与雪豹(64位),而且真的有些可怕的问题(我不解决这个问题)。我认为SWT + 64位Mac OS X中的问题。
  • JMathTools 是比别人更小的工具,但性能差大的数据集。
  • 表面绘图仪是一个真的很好的工具,有很多3D选项,它不使用JOGL或类似的事情。

  • 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.

我的另类,我用一个漂亮的,用户友好的Java API(<一HREF =htt​​p://gnujavaplot.sourceforge.net/JavaPlot/About.html相对=nofollow> JavaPlot ),它基于的的Gnuplot 。在我的GitHub上的例子,我添加鼠标移动侦听到JPanel交互式旋转三维图表。当你有gnuplot的经验,您可以使用的Gnuplot的权力在任何Java应用程序。

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.

这篇关于Java的3D绘图库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆