LatexImage tximg = new scalaSci.math.plot.plotObjects.LatexImage(latex, xcoord, ycoord);
currentPlot.addPlotable(tximg);
}
public static void latexRender(String latex) {
TeXFormula tf = new TeXFormula(latex);
TeXIcon icontf = tf.createTeXIcon(TeXConstants.STYLE_DISPLAY, 20);
icontf.setInsets(new Insets(5, 5, 5, 5));
OutputTextPane otp = new OutputTextPane();
otp.addIcon(icontf, 0, true);
JPanel jp = new JPanel();