OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

laytoggle

Contents

Brief Information

Toggle the left axis and bottom axis on and off.

Command Line Usage

//Before run it please check that there is a active Graph

//And there are two forms for using destlayer string variable format

laytoggle igp:=Graph1 destlayer:="1:0";

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Graph igp

Input

GraphPage

<active>

Specifies the graph to manipulate.

Layer destlayer

Input

string

<active>

Specifies the layer(s) to manipulate. Note: to specify multiple layers, use colon to separate the first layer and the last layer to manipulate. For example, "1:3" means the first, second and the third layer.

Description

This X-Function can be used to toggle the left axes and the bottom axes of several graph layers on and off. Note: it does not affect the right axes and the top axes.

Related X-Functions

laymanage