GraphObject::GetY

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

Get axis Y coordinate of the center of the object.

Syntax

GetY()

Parameters

Return

The axis Y coordinate of the center of the object.

Examples

EX1

import PyOrigin
#active a graphs with legend
Graph=PyOrigin.ActiveLayer()
#The Y coordinate of the object
print(Graph.GraphObjects('Legend').GetY())

See Also

GraphObject::SetY