How do I set the range of on axis, as well as making it logrythmic scale without taking logs of the results please?
3 views (last 30 days)
Show older comments
Jamie Shelley
on 14 Jul 2016
Commented: Jamie Shelley
on 14 Jul 2016
My graph needs an edited axis, but I can't get it to work; my plot (simplified) is just plot(x,y) thanks
0 Comments
Accepted Answer
Azzi Abdelmalek
on 14 Jul 2016
set(gca,'xscal','log')
3 Comments
Azzi Abdelmalek
on 14 Jul 2016
t=0:0.1:12
y=sin(t)
plot(t,y)
xlim([0.01 10])
set(gca,'xscale','log')
More Answers (0)
See Also
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!