I'm trying to plot a 3d surface using jmathplot. I currently have a java file that I run by using
javac Plot.java
java Plot
Running the program returns 3 arrays corresponding to the x
, y
, and, z
values of the graph. Where x[0]
, y[0]
, z[0]
are the coordinates of the first point of the graph.
How do I use jmathplot to graph this 3d surface?
With python I would usually use
pip install jmathplot
and then I can simply use
import jmathplot as jmp
at the start of my code so that I can use any of the jmathplot functions.
I don't understand how this process works with Java. I'm not using eclipse because the whole program is really only a few files. I've read that you can use Maven and edit the pom.xml file but so far that hasn't been working for me either.