Clear Filters
Clear Filters

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 view (last 30 days)
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)

Accepted Answer

David Sanchez
David Sanchez on 14 Feb 2014
Use axis command
axis([xmin xmax ymin ymax])
% for your case
axis([10 10^6 10 10^10])
  1 Comment
an
an on 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.?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!