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

layalign

Contents

Brief Information

Align some destination layers according to the source layer.

Command Line Usage

layalign igl:=1 destlayer:=2 direction:=bottom;

layalign igp:=graph2 source:=1 destlayer:=3;

Variables

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

Input

GraphPage

<active>

Specifies the graph to manipulate. By default, the active graph is used as input.

Input Graph igl

Input

GraphLayer

<active>

Specifies the source layer.

Destination Layer destlayer

Input

string

<active>

Specifies the destination layer.

Direction direction

Input

int

left

Specifies the alignment.
Option list

  • left:Left
    Aligns the left edges of the destination layers with the left edge of the source layer.
  • top:Top
    Aligns the top edges of the destination layers with the top edge of the source layer.
  • right:Right
    Aligns the right edges of the destination layers with the right edge of the source layer.
  • bottom:Bottom
    Aligns the bottom edges of the destination layers with the bottom edge of the source layer.


Description

This X-Function can be used to align two layers by their edges.

Related X-Functions

layarrange, laymanage, laysetpos