simetrix.plotVector¶
- simetrix.plotVector(vector: GroupVector, ylabel: str = None, xlabel: str = None, yunit: str = None, xunit: str = None, yaxisoption: AxisOptions = AxisOptions.LINEAR, xaxisoption: AxisOptions = AxisOptions.LINEAR) PlotReturnData¶
Creates a SIMetrix graph from the given X & Y data. The curve will be added to the current graph sheet if present. If there are no graph windows open, a new graph sheet will be created.
- Parameters:
vector (GroupVector) – GroupVector object provides the curve’s data.
ylabel (str) – String defines the label used for the y-axis and the curve itself.
xlabel (str) – String defines the label used for the x-axis.
yunit (str) – Defines the units used for the y-axis. If None or omitted, the units associated with the vector’s physical type will be used.
xunit (str) – Defines the units used for the x-axis. If None or omitted, the units associated with the physical type of the vector’s x-data will be used.
yoption (AxisOptions) – Defines linear or logarithmic y-axis
xoption (AxisOptions) – Defines linear or logarithmic x-axis
See also