can't add axis labels

3 ビュー (過去 30 日間)
Tom
Tom 2011 年 12 月 11 日
hey, could someone quickly help me to add labels to my plot? i've tried but something has gone wrong (something simple i'm sure)
this is the code i've used just at the end to do my plots
plot(50:1000,z_1rec,'color','r'), hold on plot(50:1000,z_1nogaprec,'color','b'), xlabel Frequency (Hz), ylabel Surface Impedance

採用された回答

Mohsen  Davarynejad
Mohsen Davarynejad 2011 年 12 月 11 日
xlabel('Frequency (Hz)');
ylabel('Surface Impedance');

その他の回答 (2 件)

Robert Cumming
Robert Cumming 2011 年 12 月 11 日
plot ( magic(100) )
xlabel ( 'my xlabel' )
ylabel ( 'my ylabel' )

Tom
Tom 2011 年 12 月 11 日
thanks

カテゴリ

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