org.ujmp.core.util
Class GnuPlot

java.lang.Object
  extended by org.ujmp.core.util.GnuPlot

public class GnuPlot
extends Object


Field Summary
static String[] SEARCH
           
 
Method Summary
 void execute(String command)
           
 void exportToFIG(File file, Object... parameters)
           
 void exportToPNG(File file, Object... parameters)
           
 void exportToPS(File file, Object... parameters)
           
 void exportToSVG(File file, Object... parameters)
           
static GnuPlot getInstance()
           
static GnuPlot getInstance(String pathToGnuPlot)
           
static String getPlotCommand(Matrix matrix, boolean withlines, boolean withpoints)
           
static boolean isAvailable()
           
 void plot(Matrix matrix, String... format)
           
 void scatterPlot(Matrix matrix, String... format)
           
 void setMatrix(String label, Matrix matrix)
           
 void shutdown()
           
static String toString(String[] strings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEARCH

public static String[] SEARCH
Method Detail

getInstance

public static GnuPlot getInstance()
                           throws Exception
Throws:
Exception

getInstance

public static GnuPlot getInstance(String pathToGnuPlot)
                           throws Exception
Throws:
Exception

execute

public void execute(String command)
             throws Exception
Throws:
Exception

shutdown

public void shutdown()
              throws Exception
Throws:
Exception

setMatrix

public void setMatrix(String label,
                      Matrix matrix)
               throws Exception
Throws:
Exception

isAvailable

public static boolean isAvailable()

plot

public void plot(Matrix matrix,
                 String... format)
          throws Exception
Throws:
Exception

getPlotCommand

public static String getPlotCommand(Matrix matrix,
                                    boolean withlines,
                                    boolean withpoints)

scatterPlot

public void scatterPlot(Matrix matrix,
                        String... format)
                 throws Exception
Throws:
Exception

toString

public static String toString(String[] strings)

exportToPS

public void exportToPS(File file,
                       Object... parameters)
                throws Exception
Throws:
Exception

exportToPNG

public void exportToPNG(File file,
                        Object... parameters)
                 throws Exception
Throws:
Exception

exportToFIG

public void exportToFIG(File file,
                        Object... parameters)
                 throws Exception
Throws:
Exception

exportToSVG

public void exportToSVG(File file,
                        Object... parameters)
                 throws Exception
Throws:
Exception


Copyright © 2010. All Rights Reserved.