Axis
SelectAxis:
PROC [plot: Plot, axis: Axis];
Deselect all current selections and then select the axis.
AddAxis:
PROC [plot: Plot, axis: Axis];
Add the axis to the selection.
GetSelectedAxis:
PROC [plot: Plot]
RETURNS [axis: Axis];
Returns last selected axis.
GetSelectedAxisList:
PROC [plot: Plot]
RETURNS [axisList:
LIST
OF Axis];
Returns currently selected axis.
Various proc to edit a plot Axis List. DO NOT INSERT THE SAME AXIS TWICE (even in two plots).
InsertAxis: PROC [plot: Plot, axis, after: Axis];
DeleteAxis: PROC [plot: Plot, axis: Axis];
MoveAxis: PROC [plot: Plot, axis, after: Axis];
XChangeAxis: PROC [plot: Plot, axis1, axis2: Axis];
CopyAxis: PROC [axis: Axis] RETURNS [duplicate: Axis];
ForkAxis: PUBLIC PROC [plot: Plot, axis: Axis];
MoveGraphInAxis: PUBLIC PROC [plot: Plot, axis: Axis, graph: Graph];
NormalizeScaleAndOrigin:
PUBLIC
PROC [plot: Plot]
RETURNS[unit:
REAL];
unit is 1, 2 or 5 times a power of ten in client x coordinates, which are supposed to be coherent all over the graphs.
Graph
SelectGraph:
PROC [plot: Plot, graph: Graph];
Deselect all current selections and then select the graph.
AddGraph:
PROC [plot: Plot, graph: Graph];
Add the graph to the selection.
GetSelectedGraph:
PROC [plot: Plot]
RETURNS [graph: Graph];
Returns currently selected graph. Complains on terminal if none or more than one selected.
GetSelectedGraphList:
PROC [plot: Plot]
RETURNS [graphList:
LIST
OF Graph];
Returns currently selected graphs. Complains on terminal if none selected or some selection is not a graph.
Graph Point
SelectPoint:
PROC [plot: Plot, point: GraphPoint];
Deselect all current selections and then select the given point on the graph.
AddPoint:
PROC [plot: Plot, point: GraphPoint];
Add the point to the selection.
GetSelectedPoint:
PROC [plot: Plot]
RETURNS [point: GraphPoint];
Returns currently selected point. Complains on terminal if none or more than one selected.
GetSelectedPointList:
PROC [plot: Plot]
RETURNS [pointList:
LIST
OF GraphPoint];
Returns currently selected points. Complains on terminal if none selected or some selection is not a point.
InsertPoint:
PROC [graph: Graph, x, y:
REAL]
RETURNS [ok:
BOOL ←
TRUE];
Adds the point to the graph. Not all classes support insertion and so ok may be false. An appropriate complaint will be sent to the terminal.
DeletePoint:
PROC [graph: Graph, x, y:
REAL]
RETURNS [ok:
BOOL ←
TRUE];
Deletes the point from the graph. Not all classes support deletion and so ok may be false. An appropriate complaint will be sent to the terminal.
Text
SelectText:
PROC [plot: Plot, text: PlotText];
Deselect all current selections and then select the text.
AddText:
PROC [plot: Plot, text: PlotText];
Add the text to the selection.
GetSelectedText:
PROC [plot: Plot]
RETURNS [text: PlotText];
Returns currently selected text. Complains on terminal if none or more than one selected.
GetSelectedTextList:
PROC [plot: Plot]
RETURNS [textList:
LIST
OF PlotText];
Returns currently selected texts. Complains on terminal if none selected or some selection is not a text.
MoveText:
PROC [plot: Plot, text: PlotText, position: Imager.
VEC];
Moves the text.
RotateText:
PROC [plot: Plot, text: PlotText, alpha:
REAL];
Rotates the text.