CPlotView:Empty
The Empty method deletes all members of the class data matrix of the CPlotView.
CPlotView:Empty() |
This deletes all points from the class data matrix used for plotting. Usually, this method is called before adding new points for plotting a new series.
Suppose a CPlotView V exists and contains points that were plotted. The following script flushes the plot data and then adds new points to a plot series:
|
-- clear existing data from the internal array |
|
-- x, y, xerrorbar, yerrorbar |
|
-- x, y, xerrorbar, yerrorbar |
|
-- x, y, yerrorbar |
|
-- x, y, yerrorbar |
|
-- add the data as a new series |
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.