- [Function]
(
plotter-data
plotter {keyword value}*)
Returns the data sets loaded in plotter according to keyword arguments.
plotter-data
supports the following keyword arguments:
:layer
{:front
|:front-selection
| index}-
If
:layer
is not specified then data from all layers are returned. If only one layer exists, or if:layer
is:front
then only the front layers's data is returned. If:layer
is:front-selection
then only the currently selected points (if any) in the front layer are returned. Otherwise the value should be the zero-based index of the layer to return. Layers are stored in the order they were created. :xy
boolean-
Determines if CLOS objects or xy coordinate numbers are returned as
data. If
:xy
is not specified thenpoint
data are converted to xy coordinate values but other CLOS instances are not. If the value is false then layer objects are returned. If the value is true then numerical coordinate values are returned and the value of:x-decimals
and:y-decimals
determines their value formatting. :x-decimals
{boolean | integer}-
Specifies the number of decimal places to which x values in
:xy
coordinate lists are rounded to (if :xy is true). If boolean true (the default) then x values are unchanged. If false then x values are floored to the nearest integer. Otherwise the value should the number of decimal places that data values are rounded to. Specifying zero causes data to remain floating point but without remainder. :y-decimals
{boolean | integer}- Exactly like
:x-decimals
except that it applies to y values.
See also:
- Plotter API [Topic]