plot title and label
4 ビュー (過去 30 日間)
古いコメントを表示
Hello, I want to plot a graph with a title and label on each axis. I use:
figure(1) title('Engine Pressure') xlabel('theta') ylabel('Pressure') plot(theta,P)
when I run the programme the figure appears, but the title and labels don't.
Can anyone help me please? I know I can label them over the graph when it comes up, but I would like to do it automatically each time I run the code.
Thank you very much in advance.
0 件のコメント
採用された回答
Azzi Abdelmalek
2014 年 3 月 21 日
編集済み: Azzi Abdelmalek
2014 年 3 月 21 日
Change the order
figure(1)
plot(theta,P)
title('Engine Pressure')
xlabel('theta')
ylabel('Pressure')
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Axis Labels についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!