N
NickPick
It it possible in java to create a mesh graph like in matlab? Any
advice is appreciated.
advice is appreciated.
It it possible in java to create a mesh graph like in matlab? Any
advice is appreciated.
It it possible in java to create a mesh graph like in matlab? ..
NickPick said:Thanks, I'm referring to something like this:
http://www.dickreuter.com/strat8.php
I'm a fan of JFreeChart, but the *3D renderers are more of a decorative
effect, somewhat like beveled borders:
<http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/renderer/cat
egory/BarRenderer3D.html>
<http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/renderer/cat
egory/LineRenderer3D.html>
Alternatively, the XYBlockRenderer can render an XYZDataset nicely:
<http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/renderer/xy/
XYBlockRenderer.html>
The OP's examples include a fourth dimension rendered as a color
gradient, which might be done with an extension of AbstractXYZDataset.
NickPick said:[...]I'm a fan of JFreeChart, but the *3D renderers are more of a decorative
effect, somewhat like beveled borders:
<http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/renderer/cat
egory/BarRenderer3D.html>
<http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/renderer/cat
egory/LineRenderer3D.html>
Alternatively, the XYBlockRenderer can render an XYZDataset nicely:
<http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/renderer/xy/
XYBlockRenderer.html>
The OP's examples include a fourth dimension rendered as a color
gradient, which might be done with an extension of AbstractXYZDataset.
Thanks, but neither of those examples appear to be able to reproduce
what matlab is doing as described here: http://www.dickreuter.com/strat8.php.
Am I to take it that there are no java classes available where a an x-
y-z depiction in a 3d grid is possible?
John said:I'm a fan of JFreeChart, but the *3D renderers are more of a decorative
effect, somewhat like beveled borders:
<http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/renderer/cat
egory/BarRenderer3D.html>
<http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/renderer/cat
egory/LineRenderer3D.html>
Ah.
Alternatively, the XYBlockRenderer can render an XYZDataset nicely:
<http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/renderer/xy/
XYBlockRenderer.html>
NickPick said:Thanks, but neither of those examples appeaar to be able to reproduce
what matlab is doing as described here: http://www.dickreuter.com/strat8.php.
Am I to take it that there are no java classes available where a an x-
y-z depiction in a 3d grid is possible?
Arne said:If you want it exactly as you want it, then you can always code it
yourself.
Probably only a few thousand hours of work.
Bollocks. ..
Kevin said:Bollocks. I cobbled together a multifunction* 3D mesh grapher in
Smalltalk-80 in under an hour back in the day. Needed a graph for
something, so I figured what the hey.
Then again, it might not be quite that fast to do in Java. But still
pretty fast if you know what you're doing.
I am sure that the original poster would appreciate it, if you
coded it.
Arne
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.