Package eas.math.gnuplot2

Examples of eas.math.gnuplot2.JGnuplot.execute()


            @Override public void mouseEntered(MouseEvent e) {}
           
            @Override
            public void mouseClicked(MouseEvent e) {
                JGnuplot plot = new JGnuplot();
                Command c = plot.execute(
                        new Plot("test"),
                        PlainGNUPlot.this.plotCode.substring(PlainGNUPlot.this
                                .getPDFProcessor().getCodePrefix().length()),
                        null);
                c.toString();
View Full Code Here


    public void storeAsPDF(String datNam, String tempDir) {
        String pdfSettings = "set terminal pdf\n"
                           + "set output '" + tempDir + "/" + datNam + ".pdf'\n";
        JGnuplot plot = new JGnuplot();
       
        plot.execute(new Plot("test"), pdfSettings + this.gnuplotCode.substring(this.getCodePrefix().length()), tempDir);
    }

    @Override
    public String getSourceString() {
        return this.gnuplotCode.substring(this.getCodePrefix().length());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.