adding gridlines to a box plot

13 ビュー (過去 30 日間)
hdg D
hdg D 2014 年 9 月 16 日
回答済み: Star Strider 2014 年 9 月 17 日
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;

回答 (1 件)

Star Strider
Star Strider 2014 年 9 月 17 日
Apparently you don’t.
This fails:
set(gca, 'XGrid','on')
You can have 'YGrid'. Be happy with it!

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by