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

plotgroup

Contents

Brief Information

Plot by page group, layer group, and data group.

Command Line Usage

plotgroup iy:=[Book1]Sheet1!Col(2) pgrp:=[Book1]Sheet1!Col(3);

Additional Information

This feature is updated in 8.0 SR4. For more details, please refer to Release Notes.

Variables

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

Input

XYRange

<active>
The input XYRange data to plot by group.
Column for Page Group pgrp

Input

Column

<optional>
The Column data will be used to plot for page group.
Column for Layer Group lgrp

Input

Column

<optional>
The Column data will be used to plot for layer group.
Column for Data Group dgrp

Input

Column

<optional>
The Column data will be used to plot for data group.
Arrangment of Layers arrange

Input

int

0
The layer will be arranged vertically or horizontally in Page.

Option list:

  • vertical:Vertical
The layer will be arranged vertically in Page.
  • horizontal:Horizontal
The layer will be arranged horizontally in Page.
Graph Template template

Input

string

origin
Specify the template used to plot the graphs.
Plot Type type

Input

int

1
Specify the plot type to plot the graphs.

Option list:

  • line:Line
  • scatter:Scatter
  • linesymb:Line+Symbol
  • column:Column
Sort Worksheet by Groups Data sort

Input

int

0
Specify whether to sort the worksheet according to the column data for page group.

Option list:

  • none:None
  • ascending:Ascending
  • descending:Descending

Description

The function can be used to plot by column data for page group, for layer group, and for data group.

Examples

  1. Creat a new wooksheet to import the two-way rm ANOVA1_indexed.dat on the Samples\Statistics\ANOVA\ folder.
    Image:X func plotgroup 1.png
  2. Highlight col(D), then type plotgroup -d in the command window, and execute it to open the plotgroup dialog.
  3. Set col(B) as the Column for Page Group as below:
    Image:X func plotgroup 2.png
  4. set col(C) as the Column for Layer Group, and col(D)as the Column for Data Group.
    Image:X func plotgroup 3.png
  5. Click OK to complish this function.
    Image:X func plotgroup 4.png

As you can see from the above graphs, each graph named as the corresponding value of col(D) time, and there are two layers in each page, indicate the weight of female and male in different time.

For more examples, please refer to XF Script Dialog (press F11).

Related X-Functions