adding gridlines to a box plot

조회 수: 9 (최근 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