フィルターのクリア

give title on the left side of subplot

67 ビュー (過去 30 日間)
Elysi Cochin
Elysi Cochin 2016 年 12 月 30 日
コメント済み: Stephen 2023 年 4 月 13 日
i need to give titles, is it possible to give title at the side of subplot as follows

採用された回答

KSSV
KSSV 2016 年 12 月 30 日
You can make title as ylabel and achieve what you want..
x = linspace(0,10);
y1 = sin(x);
y2 = sin(5*x);
figure
subplot(2,1,1);
plot(x,y1)
ylabel('title1')
set(get(gca,'YLabel'),'Rotation',0)
subplot(2,1,2);
plot(x,y2)
ylabel('title2')
set(get(gca,'YLabel'),'Rotation',0)
  2 件のコメント
Fryderyk Kögl
Fryderyk Kögl 2018 年 9 月 19 日
And what if I already used the ylabel function to create a label for the y axis?
Stephen
Stephen 2023 年 4 月 13 日
No answer... of course not

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

その他の回答 (1 件)

Tiezheng Song
Tiezheng Song 2019 年 1 月 29 日
I have found a great answer here. Hope this would be helpful!
  1 件のコメント
madhan ravi
madhan ravi 2019 年 1 月 29 日
If your using 2018b use sgtitle() .

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

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by