8.1.2.34 Column::SetUnits

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 units in a column label.

Syntax

SetUnits(unit)

Parameters

unit
string text for unit

Return

None

Examples

import PyOrigin
PyOrigin.FindWorksheet('[Book1]Sheet1').Columns(0).SetUnits('cm')

See Also

Column::GetUnits