Index | |
Gnuplot |
- GUtils at "x-ozlib://anders/strasheela/source/GeneralUtils.ozf"
- LUtils at "x-ozlib://anders/strasheela/source/ListUtils.ozf"
- Out at "x-ozlib://anders/strasheela/source/Output.ozf"
- <P/2:Plot>
proc{Plot Y Args}
Generates script and data file for gnuplot and calls gnuplot with these files. Coordinates (i.e. x, y, and z) may be either a list of numbers (for a single plot) or a list of lists (for multiple plots) -- the nesting of all lists must be the same. Specifying z results in a 3D plot.
The argument 'style' (sets the lines style) expects either a single VSs for all or a list of styles with a new value for every plot. The argument 'title' (sets the title for each) plot expects also either a single VSs for all or a list of styles with a new value for every plot. The argument 'set' expects a list of VSs describing arbitrary additional settings to gnuplot (without the leading 'set'). The argument dataFile gives the beginning of the data file names (every plot is written to an own data file). commandFile is the name of the command file. The arg additionalPsOut expects a string to which a postscript file of the plot is saved.