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

查看:37
本文介绍了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,但我的时间很紧,我真的没有时间去学习它.是否有任何真正简单的库可用于在 Java 中可视化 3D 内容(我需要缩放、旋转等内容).

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.我有一台装有 Snow Leopard(64 位)的 Mac,但确实存在一些可怕的问题(我无法解决).我认为 SWT+64 位 Mac OS X 是问题所在.
  • JMathTools 是比其他工具更小的工具,但在处理大型数据集时性能很差.
  • Surface Plotter 是一个非常好的工具,有很多 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 (JavaPlot) 基于 Gnuplot.在我在 github 上的示例中,我向 JPanel 添加了一个鼠标运动侦听器,用于交互式旋转 3d 图表.当您有 Gnuplot 经验时,您可以在任何 Java 应用程序中使用 Gnuplot 的强大功能.

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天全站免登陆