For usage see Specifying the desired plots (usually in setplot.py) and Plotting examples.
Objects of this class are usually created by the new_plotfigure method of a ClawPlotData object.
The following attributes can be set by the user:
- figno : int
- Figure number, by default the next unused number will be used. This is usually set as an argument to the new_plotfigure function of a ClawPlotData object
- plotaxes_dict : dictionary
- Used internally, a dictionary of all the axes in this figure.
- kwargs : dictionary
A dictionary of keyword arguments for the figure command. For example:
"{'figsize':[12,5], 'facecolor':[1,0,0]}"would specify that the figure should be 12 inches by 5 inches with a red background.
For more options see the matplotlib documentation for the figure command.
- clf_each_frame : bool
- If True, clear the figure with a clf command at the start of each frame.
- show : bool
- If False, suppress showing this figure.
- new_plotaxes(name)¶
- Create and return a new object of class ClawPlotAxes associated with this ClawPlotFigure object. A single figure may have several axes on it.
- gethandle()¶
- Returns the handle for this figure.