GraphObject::SetDY

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

Set the graph object height in axes units.

Syntax

SetDY(DY)

Parameters

DX

object dimension

Return

None

Examples

EX1

import PyOrigin
#active a graphs with legend
Graph=PyOrigin.ActiveLayer()
#get the demision of the legend
print(Graph.GraphObjects('legend').GetDX(),Graph.GraphObjects('legend').GetDY())
Graph.GraphObjects('legend').SetDY(5)

See Also

GraphObject::GetDY