adding gridlines to a box plot

12 visualizaciones (últimos 30 días)
hdg D
hdg D el 16 de Sept. de 2014
Respondida: Star Strider el 17 de Sept. de 2014
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;

Respuestas (1)

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by