Log scale x axis?
3 views (last 30 days)
Show older comments
Hello I want to have a logarthmic x axis however I think the semilogx function doesnt work when using a function. Also, if you know what the error means Id appreciate an explanation!
0 Comments
Accepted Answer
madhan ravi
on 21 Feb 2020
set(gca, 'XScale','log') % at the end
To turn off the warning simply use dots before arithmetic operators .^ .* ./
More Answers (0)
See Also
Categories
Find more on Log Plots 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!