How to adjust the Grid size

99 visualizaciones (últimos 30 días)
zubair
zubair el 9 de Mzo. de 2012
hiii I need some help regarding the grid function. By using "Grid on" we get the grid of certain size. I want to change the size of the squares in the grid. In a 1200x1200 figure i want to have a grid whose squares are of side say 300. Also is it possible to do manipulations in a particular square of the grid eg a for loop which works only inside the square. thanks.

Respuesta aceptada

Grzegorz Knor
Grzegorz Knor el 9 de Mzo. de 2012
Analyze this code:
plot(1:10000)
grid on
pause
set(gca,'XMinorTick','on')
grid minor
pause
set(gca,'Xtick',0:2000:10000)
grid off
grid on

Más respuestas (0)

Categorías

Más información sobre Graphics Performance en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by