3.3.2.33 Layer

Brief Introduction

Performs various operations on existing layers. The layer command operates on the active layer, except where specified.

Many of these features can now be handled with the laymanage X-Function.

Syntax:

layer [option] <width height xOffset yOffset>

Options:

Options for Graph

Option Description
no option Set layer position
-a rescale the X and Y axes of the active layer to show all the data plotted in that layer
-a ma rescale the X and Y axes of all linked layers together to show all the data
-at rescale the X and Y axes of the active layer, ignoring tick settings
-b 3DB set graph display caching
-cm l Load a saved color map
-cm s Save a color map
-k open the Plot Details or Layer n dialog box
-n add a nonlinked layer to the active graph window
-n Both add a linked layer to the active graph window displaying a top X and right Y axis
-n X add a linked layer to the active graph window displaying a top X axis
-n Y add a linked layer to the active graph window displaying a right Y axis
-p apply the X or Y scale of the active layer to all other layers in the active window
-u change the units in which layer size and position are measured
-x get the layer frame dimensions into variables

Options for Special Graph

Option Description
-3d Control perspective of 3D plots
-3d r set the 3D graph rotation
-3d c convert GDI-based 3D graph to OpenGL based
-cam control the directions of 3D OpenGL plot
-pgm enable arbitrary rotation and shearing for 2D Cartesian layer
-Y ? query the waterfall graph in the active graph window and assign the values of the X offset and Y offset to variables X and Y
-Y ! Disable the X and Y offsets in the waterfall graph in the active graph window
-Y set the X and Y offset to produce a waterfall effect for all the data plotted in the layer
-z set zero angle and direction for polar plot

Options for Plot

Option Description
-b special plotting parameters
-c count datasets plotted in the active layer
-cx Change X Data
-cxy Change XY Data
-cy Change Y Data
-e remove a dataset from the active layer but keep the data plot style holder
-g group datasets in the active layer
-gu ungroup all datasets in the active layer
-hp hide or show data plot(s)
-i delete all data plot style holders in the active graph window layer
-i dataset add a dataset to the active layer
-i # replot into the plot type specified by #
-ic Copy all data plots from the specified layer into the active graph layer
-ie delete all data plot style holders that are not in use in the active graph window layer
-il add labels to an existing unlabeled dataplot
-ip add a dataset to the active layer even the dataset exists in the layer
-iu delete all data plot style holders
-j extract multiple data plots
-r reverse the order of the data plots in the active layer
-t nrow set the worksheet row that provides the axis title and the legend text for the dataplot

Options for Worksheet

Option Description
-b R set worksheet as editable or read-only
-les set editable cells on a protected worksheet
-lt print the current protection bits
-lw turn on protection on worksheet level
-s update Origin when you change sheet activity in an Excel workbook
-se Set the named Excel sheet as the active layer
-trv switch the worksheet columns to column list view
-us update active Excel sheet and copy data
-usn update active Excel sheet, do not copy data
-w specify the beginning and ending column and row numbers

Options for Layer

Option Description
-d delete the active layer
-dk delete the active layer and keep the book
-f duplicate a sheet
-h hide or show the layer
-m open the Layer Clipping Margins dialog box for the active layer
-o execute (operate) the specified script for the specified layer
-s select the active layer in the active window
-tm return merged cell range

See Also:

Layer

Layer.Axis, Layer.Axis.Break, Layer.Axis.Grid, Layer.Axis.Label, Layer.Cmap (object), Layer.Plotn.BoxChart