GraphLayer::DataPlot

It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021.

 

Description

Read-only property. Return the DataPlots collection.


Get the DataPlots in GraphLayer

Syntax

 DataPlots

 DataPlots(Index)
 DataPlots(name)

Parameters

Index

Dataplot index

name

Dataplot name

Return

DataPlots in GraphLayer

Examples

EX1

import PyOrigin
gl=PyOrigin.FindGraphLayer('Graph1')
print(gl.DataPlots.GetCount())

EX2

import PyOrigin
gl=PyOrigin.FindGraphLayer('Graph1')
print(gl.DataPlots(0).GetName())