Hi, How can I make the axis look like in the attached figures?
1 view (last 30 days)
Show older comments
Hang Zeng on 19 Jun 2021
Answered: SALAH ALRABEEI on 20 Jun 2021
SALAH ALRABEEI on 20 Jun 2021
See this example
x = linspace(-5,5); y = x.^2; plot(x,y)
xticks([-5 -2.5 -1 0 0.25 0.5 0.75 1 2.5 10])
More Answers (1)
Jonas on 19 Jun 2021
what do you mean exactly? if you mean the logarithmic x axis then you can use semilogx() function for plotting
Find more on 2-D and 3-D 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!