can you help me to change this plot to nano meter scale ! i want x multiply by 10^-6
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Aalaa Abu alrob
il 10 Ott 2018
Commentato: Star Strider
il 11 Ott 2018
syms x;
x=1:10
v(x)=1./(1+2*(x.^2))
semilogy(x, v(x))
5 Commenti
Risposta accettata
Star Strider
il 10 Ott 2018
If you simply want to label the x-axis, without changing anything else, try this:
t = linspace(0, 2*pi);
s = sin(t);
figure
plot(t, s)
grid
xt = get(gca, 'XTick'); % Current Tick Values
set(gca, 'XTick',xt, 'XTickLabel',xt*1E-6) % Current Tick Values With New Tick Labels
4 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!