axis on plot not displaying
2 ビュー (過去 30 日間)
古いコメントを表示
a = (1:100);
b = (a.^2);
plot(a,b)
xlabel = 'time';
ylabel = 'fish';
I have tried using "xlabel('time');" but nothing seems to work, the graph will display and no error will be shown but the labels wont come up?
0 件のコメント
採用された回答
Walter Roberson
2020 年 4 月 14 日
a = (1:100);
b = (a.^2);
plot(a,b)
xlabel('time')
ylabel('fish')
2 件のコメント
Walter Roberson
2020 年 4 月 14 日
Before that,
clear xlabel ylabel
just in case you still have the variables xlabel and ylabel stuck in your workspace.
その他の回答 (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!