How can I get the normplot function to have an x-axis with logarithmic scale?

20 views (last 30 days)
I just need to make the x-axis of the normplot have logarithmic scaling. If I use set(gca,'xscale','log'), then the data point will plot logarithmically, but the line through the quartiles will not move.

Answers (2)

Abhishek Ballaney
Abhishek Ballaney on 9 Feb 2018
https://in.mathworks.com/help/matlab/ref/semilogx.html

Chris
Chris on 9 Feb 2018
Dear Mr. Ballaney; Hello. Thank you for looking at my question. I need the normplot's functionality. So, the semilogx function would not be sufficient. The crux is the fitted line through the data: changing the xscale to log moves the data points in the normplot fine, but the fitted line stays anchored to whatever scale it is set to. Staying with the normplot graph is important because of the y-axis scaling. Sincerely, CHobbs

Community Treasure Hunt

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

Start Hunting!