How to adjust the Grid size
322 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.
0 commentaires
Réponse acceptée
Grzegorz Knor
le 9 Mar 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
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Debugging and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!