How to suppress axis labels in probplot
3 views (last 30 days)
Show older comments
I am printing a probplot on multiple subplot(9,3,!) on the same page to check the distribution of a number of datasets. The automatically generated X and Y axis labels are simply a nuisance as they repeat for each subplot and overlap making a very messy plot. I can use the text command to describe the overall plot. Is there any way that I can suppress the writing of X and Y axis labels every time that I call the probplot function in matlab?
0 Comments
Answers (3)
Vinod Sudheesh
on 1 Apr 2015
You could do this by setting the "axes" properties appropriately. For example, please see the code snippet below in which the "XTick","YTick","XTickLabel", "YTickLabel","Title","XLabel" and "YLabel" properties of the axes that corresponds to the probability plot created using the "probplot" function is suppressed.
figure()
subplot(2,2,1)
plot(1:10);
subplot(2,2,2)
plot(1:10);
subplot(2,2,3)
plot(1:10);
y = exprnd(5,200,1);
probplot(y);
set(gca,'XTick',[]);
set(gca,'YTick',[]);
set(gca,'XTickLabel',[]);
set(gca,'YTickLabel',[]);
set(gca,'Title',[]);
set(gca,'XLabel',[]);
set(gca,'YLabel',[]);
subplot(2,2,4)
plot(1:10);
Please refer to the following documentation page for more information on "axes" properties.
0 Comments
See Also
Categories
Find more on Graphics Object Properties 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!