Cryplot::BasePlot
Class used to create a plot containing graphical elements
Constructors
Instance methods
Toggle automatic cleaning of temporary files (enabled by default)
clear all draw and gnuplot commands Note: This method leaves all other plot properties untouched.
Draw plot object with given what, using and with expressions (e.g., plot.draw("sin(x)*cos(x)", "", "linespoints"), (e.g., plot.draw("file.dat", "1:2", "points"))).
Draw plot object with given using and with expressions (e.g., plot.draw("1:2", "points"))).
Use this method to provide gnuplot commands to be executed before the plotting calls.
The vector of grid specs for the major and minor grid lines in the plot (for xtics, ytics, mxtics, etc.).
Save the plot in a file, with its extension defining the file format.
The extension of the file name determines the file format
The supported formats are: pdf, eps, svg, png, and jpeg
Thus, to save a plot in pdf format, choose a file as in plot.pdf.
Note: This removes temporary files after saving if autoclean is enabled. default is enabled
Show the plot in a popup-window
Note: This removes temporary files after saving if autoclean is enabled. default is enabled
Set the size of the plot (in unit of points, with 1 inch = 72 points).