I have started using JavaFX for one of my GUI application which requires scientific plotting of 3D contour etc. For the plotting routine, I thought to use PlPlot which can be used with Java and which plots 3D plots, contours etc. I can plot my data in a separate "X-Window" using PlPlot while I need to place the plot in a JavaFX Pane
, say AnchorPane
. I may use PLPlot commands like following:
PLStream pls = new PLStream();
pls.sdev("xwin");
pls.init();
pls.env(col1Min, col1Max, col2Min, col2Max, 0, 0);
pls.line(col1, col2);
pls.end();
I see plot appears in a separate X-Window as it would be while I need to place in a Pane
. The device declaration by pls.sdev("xwin")
does not return any handle as shown in manual.
Can you kindly provide any idea? Thanks and Regards
Jzy3d is able to draw contour plots and there are tools to customize contours.
I demonstrate how to run Jzy3d charts in JavaFX here.