org.ujmp.core.util
Class GnuPlot
java.lang.Object
org.ujmp.core.util.GnuPlot
public class GnuPlot
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEARCH
public static String[] SEARCH
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.