plot
Create plot for signal or multiple signals
Syntax
[signal_names, signal_figures] = cgv.CGV.plot(data_set)
[signal_names, signal_figures] = cgv.CGV.plot(data_set,'Signals', signal_list)
Description
[signal_names, signal_figures] = cgv.CGV.plot( create
a plot for each signal in the data_set)data_set.
[signal_names, signal_figures] = cgv.CGV.plot( create
a plot for each signal in the value of data_set,'Signals', signal_list)'Signals' and
return the names and figure handles for the given signal names.
Input Arguments
| Output data from a model. After running the model, use the |
| Parameter/value argument pair specifying the signal or signals
to plot. The value for this parameter can be an individual signal
name, or a cell array of character vectors, where each
character vector is a signal name in the signal_list = {'log_data.subsystem_name.Data(:,1)'}signal_list = {'log_data.block_name.Data(:,1)',...
'log_data.block_name.Data(:,2)',...
'log_data.block_name.Data(:,3)',...
'log_data.block_name.Data(:,4)'};'block name', MATLAB displays
the signal name as: log_data.('block name').Data(:,1)'block name' must
have two single quotes. For example:signal_list = {'log_data.(''block name'').Data(:,1)'} |
Output Arguments
Depending on the data, one or more of the following parameters might be empty:
| Cell array of signal names |
| Array of figure handles for signals |