public class Gnuplot extends Object
Constructor and Description |
---|
Gnuplot(Path template)
Create a new
Gnuplot object with the given template path. |
Modifier and Type | Method and Description |
---|---|
void |
create(Path data,
Path output)
Generate the Gnuplot graph.
|
static void |
main(String[] args) |
void |
setEnv(Map<String,String> env) |
void |
setEnv(String name,
String value)
Set an environment value.
|
public void setEnv(String name, String value)
name
- the environment namevalue
- the environment valuepublic void create(Path data, Path output) throws IOException
data
- the input data fileoutput
- the output path of the graphIOException
- if the Gnuplot generation failspublic static void main(String[] args) throws IOException, InterruptedException
IOException
InterruptedException
© 2007-2017 Franz Wilhelmstötter (2017-04-27 23:07)