Plotting Functions
These non-class functions use the CPlotView and CPlot classes to efficiently graph data in a new CPlotView window using code as simple as scatter(x,y). They return two parameters: the CPlotView object for the window and a CPlot object attached to the current plot series in the window. The non-class functions use lowercase names to distinguish them from class objects that use mixed upper and lower case. Some of the older plot functions have legacy mixed case names, like ConnectedPlot. These older names are listed following the new lowercase names.
connect (ConnectedPlot) |
Graphs x and y arrays as markers connected by line segments. This is an alternate version of the plot function. |
Graphs x and y arrays with error bars using markers connected by line segments. |
|
Computes the histogram of an array and graphs it as a stepped line plot. This function assumes default binning properties for creating the horizontal axis. |
|
line (LinePlot) |
Graphs x and y arrays using line segments between the points but without drawing markers. |
Graphs x and y arrays with error bars using line segments between the points but without drawing markers. |
|
scatter (ScatterPlot) |
Graphs x and y arrays using markers for the points. |
Graphs x and y arrays with error bars using markers for the points. |
|
stepline (SteplinePlot) |
Graphs x and y arrays using stepped line segments between the points but without drawing markers for the points. |
Graphs x and y arrays with error bars using stepped line segments between the points but without drawing markers for the points. |
|
plot (ConnectedPlot) |
Graphs x and y arrays by drawing the points and connecting them with line segments. This is an alternate version of the connect function. |
These classes are used by the efficient non-class plotting functions in the table above. These class objects are returned by the non-class functions to permit using class method on the plotted data.
Provides a large number of plotting tools within a class framework. |
|
Provides access to individual plot series and plot point data within a class framework. |
Comparison of non-Class Plotting Functions
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.