adding gridlines to a box plot
17 views (last 30 days)
Show older comments
Hello, How do I add gridlines on both vertical and horizontal axis to a boxplot here is a simple example
load carsmall
boxplot(MPG, Origin, 'medianstyle', 'target')
grid on;
0 Comments
Answers (1)
Star Strider
on 17 Sep 2014
Apparently you don’t.
This fails:
set(gca, 'XGrid','on')
You can have 'YGrid'. Be happy with it!
0 Comments
See Also
Categories
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!