Azzera filtri
Azzera filtri

can't add axis labels

5 visualizzazioni (ultimi 30 giorni)
Tom
Tom il 11 Dic 2011
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

Risposta accettata

Mohsen  Davarynejad
Mohsen Davarynejad il 11 Dic 2011
xlabel('Frequency (Hz)');
ylabel('Surface Impedance');

Più risposte (2)

Robert Cumming
Robert Cumming il 11 Dic 2011
plot ( magic(100) )
xlabel ( 'my xlabel' )
ylabel ( 'my ylabel' )

Tom
Tom il 11 Dic 2011
thanks

Community Treasure Hunt

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

Start Hunting!

Translated by