how can i scale the axis in such a way that y axis in between 10 and 10^10 and x axis in between 10 and 10^6?please help

1 visualizzazione (ultimi 30 giorni)
E0=6.83*4.77^1.5*10^9; d0=0.4; d=[20 40 60 80 100 200 400 600 800 1000]; E1=8.85*10^-12; B1=(d./d0).^(1/3) ; % Field enhancement factor value E2=E0.*(1./B1); U0=0.5.*E1.*E2.^2.*(d0./d).^(2/3); x0=[1 2 3 4 5 6]; x=10^x0; y=x; plot(d,U0)

Risposta accettata

David Sanchez
David Sanchez il 14 Feb 2014
Use axis command
axis([xmin xmax ymin ymax])
% for your case
axis([10 10^6 10 10^10])
  1 Commento
an
an il 14 Feb 2014
I tried this command but then i am getting y range showing only in 10^6 i have to check values corresponding to 10^3 ,10^4 etc.. is there any way like i can scale the y axis.?

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by