Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

plot

Class: simscape.logging.Series
Package: simscape.logging

Plot series values against time

Syntax

h = plot(series,Name,Value)

Description

h = plot(series,Name,Value) plots the simulation series values along the y-axis, with time along the x-axis. You can filter data being plotted by using the name-value pair arguments. h is a cell array of handles to the resulting figures. series is an object of class simscape.logging.Series. series must include a full identifier path to the series, starting with the workspace log variable name.

For more information, including the descriptions of name-value pair arguments, see the simscape.logging.plot reference page.

Examples

Plot velocity of port R of the Translational Spring block, in mm/s:

plot(simlog.Translational_Spring.R.v.series, 'units', 'mm/s')
     

Alternatives

Use the simscape.logging.plot function.

Was this topic helpful?