jzy3d

How to use jzy3d in android using eclipse?

北城余情 提交于 2019-12-20 05:50:35
问题 Hi. I want to create a 3dplot graph in android. I want to use jzy3d lib and found this example for beginning. import org.jzy3d.chart.Chart; import org.jzy3d.colors.Color; import org.jzy3d.colors.ColorMapper; import org.jzy3d.colors.colormaps.ColorMapRainbow; import org.jzy3d.maths.Range; import org.jzy3d.plot3d.builder.Builder; import org.jzy3d.plot3d.builder.Mapper; import org.jzy3d.plot3d.builder.concrete.OrthonormalGrid; import org.jzy3d.plot3d.primitives.Shape; import org.jzy3d.plot3d

Is it possible to use Jzy3D in a Netbeans 7.0 application?

六月ゝ 毕业季﹏ 提交于 2019-12-18 09:36:29
问题 Alright, so we're trying to incorporate a 3D scatterplot into our project in Netbeans 7.0, and one of the libraries we chose to test was Jzy3D. It looks likes it would do everything we needed it to, but unfortunately, it's not doing anything. I have JOGL installed properly, and have tested it and found it to be working. Then I have included the same dependencies as in the demo. I have also tried directly including the .jars. And yes, gluegen-rt.jar is in the library folder. EDIT: To get JOGL

jzy3d change color mapping

回眸只為那壹抹淺笑 提交于 2019-12-13 01:44:02
问题 I'm trying to create a surface chart using jzy3d package. Here's my code: int stepsX = 6; Range rX = new Range(1,6); int stepsY = 7; Range rY = new Range(0,6); Mapper mapper = new Mapper(){ @Override public double f(double x, double y) { return //My function to get Z value; } }; // Create a surface drawing that function org.jzy3d.plot3d.primitives.Shape surface = Builder.buildOrthonormal(new OrthonormalGrid(rX, stepsX, rY, stepsY), mapper); surface.setColorMapper(new ColorMapper(new

Cast jzy3d.canvas to awt.component

ε祈祈猫儿з 提交于 2019-12-04 06:15:04
问题 I need cast the jzy3d canvas to java.awt.component, I want to display the chart in my frame with JCombobox and button but when I want to cast canvas to component, the program was dropped. Thank you for your answers. I have try this and don't help me. Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: org.jzy3d.plot3d.rendering.canvas.VoidCanvas cannot be cast to java.awt.Component at cz.bia.Launcher.lambda$setComponents$0(Launcher.java:63) at java.awt.Button

Cast jzy3d.canvas to awt.component

痞子三分冷 提交于 2019-12-02 11:57:26
I need cast the jzy3d canvas to java.awt.component, I want to display the chart in my frame with JCombobox and button but when I want to cast canvas to component, the program was dropped. Thank you for your answers. I have try this and don't help me. Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: org.jzy3d.plot3d.rendering.canvas.VoidCanvas cannot be cast to java.awt.Component at cz.bia.Launcher.lambda$setComponents$0(Launcher.java:63) at java.awt.Button.processActionEvent(Button.java:409) at java.awt.Button.processEvent(Button.java:377) Launcher.java: package cz.bia;

How to use jzy3d in android using eclipse?

怎甘沉沦 提交于 2019-12-02 09:23:56
Hi. I want to create a 3dplot graph in android. I want to use jzy3d lib and found this example for beginning. import org.jzy3d.chart.Chart; import org.jzy3d.colors.Color; import org.jzy3d.colors.ColorMapper; import org.jzy3d.colors.colormaps.ColorMapRainbow; import org.jzy3d.maths.Range; import org.jzy3d.plot3d.builder.Builder; import org.jzy3d.plot3d.builder.Mapper; import org.jzy3d.plot3d.builder.concrete.OrthonormalGrid; import org.jzy3d.plot3d.primitives.Shape; import org.jzy3d.plot3d.rendering.canvas.Quality; import org.jzy3d.ui.ChartLauncher; import android.os.Bundle; import android.app