I have a loglog plot. The yaxis tick marks are labeled very strangely: 10^-1.3 , 10^-1.4 ,etc. How do I change the tick marks from this weird notation to normal decimals?
6 views (last 30 days)
Show older comments
Shawn McCullough
on 16 Sep 2017
Answered: Shawn McCullough
on 16 Sep 2017
I have a loglog plot. The yaxis tick marks are labeled very strangely: 10^-1.3 , 10^-1.4 ,etc. How do I change the tick marks from this weird notation to normal decimals? I've attached an image of the figure. Note that the y axis tick marks are NOT scientific notation, but rather something else (10^-1.3 = 0.0501).
here's my plot code lines:
figure
loglog(RE,f_m, 'b--o','LineWidth',2);
hold on
loglog(RE,f_plus, 'r--+','LineWidth',1.5);
loglog(RE,f_minus, 'm--*','LineWidth',1.5);
loglog(RE,f_expect, 'k','LineWidth',2);
hold off
grid on
I'm new to asking questions here, so I apologize if I'm not within the normal "rules".
Thanks for any feedback!
2 Comments
Walter Roberson
on 16 Sep 2017
Which MATLAB version are you using? There were some relevant changes in R2014b, and R2015b.
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Creating, Deleting, and Querying Graphics Objects 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!