OriginPro
 
Loading...
Searching...
No Matches
originpro.graph Namespace Reference

Classes

class  Axis
 
class  GLayer
 
class  GPage
 
class  Plot
 

Functions

def CopyPageRatio (ratio)
 

Detailed Description

originpro
A package for interacting with Origin software via Python.
Copyright (c) 2020 OriginLab Corporation

Function Documentation

◆ CopyPageRatio()

def originpro.graph.CopyPageRatio (   ratio)
    temporarily change System.copyPage.ratio
    Parameters:
        ratio(float):ratio when copy page
    Returns:
        (none)
    Examples:
        import originpro as op
        with op.CopyPageRatio(50) as cpr:
            print('set System.copyPage.ratio to',op.lt_int('System.copyPage.ratio'))
        print('set System.copyPage.ratio back to',op.lt_int('System.copyPage.ratio'))