# Can I plot three different group of signals in one XY plane?

2 ビュー (過去 30 日間)
632541 2021 年 2 月 3 日
コメント済み: Cris LaPierre 2021 年 2 月 4 日
Can I plot three different group of signals in one XY plane?
Like,
First 5 signals in one plot which can be overlapped ,
6th is in one plot just below 5 signals
7-11(next 5) in other plot(overlapped) ,just below the 6th.
Can I plot these type of plots in one XY plane?

サインインしてコメントする。

### 採用された回答

Cris LaPierre 2021 年 2 月 3 日
Not sure I fully understand what you want. It sounds like you want 3 separate plots in a single figure? If so, look at tiledlayout.
x = linspace(0,30);
t = tiledlayout(3,1);
% Tile 1
nexttile
hold on
plot(x,sin(x))
plot(x,sin(x/4))
hold off
% Tile 2
nexttile
plot(x,sin(x/2))
% Tile 3
nexttile
hold on
plot(x,sin(x/3))
plot(x,cos(x))
hold off
##### 3 件のコメント1 件の古いコメントを表示1 件の古いコメントを非表示
632541 2021 年 2 月 4 日
How to use time series signals from simulink to workspace in plot?
plot(t,y);
Consider y is timeseries signal from simulink to workspace.
Cris LaPierre 2021 年 2 月 4 日
I'm not very familiar with Simulink. Perhaps this example has the information you need?

サインインしてコメントする。

### カテゴリ

Help Center および File ExchangeScopes and Data Logging についてさらに検索

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by