legend in subplot graph

2 ビュー (過去 30 日間)
Chaudhary P Patel
Chaudhary P Patel 2021 年 1 月 29 日
コメント済み: Alex Alex 2021 年 1 月 29 日
how to give legend for multiple graph case.
subplot(3,1,1)
plot(tn,transpose(utdelt(1,:)),'-r');
title('Displacement in X-Direction')
xlabel('time(sec)');
ylabel('Displacement (m)');
hold on
plot(tn,transpose(utdelt(28,:)),'-g');
title('Displacement in X-Direction')
xlabel('time(sec)');
ylabel('Displacement (m)');
  1 件のコメント
Alex Alex
Alex Alex 2021 年 1 月 29 日
command "legend" ?

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeLegend についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by