XGrid
75 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I'm looking to set up the Xgrid on but only for the zero value,
i wrote that
set(gca,'XTick',0,'XGrid','on')
but only zero is tick on the figure, maybe the other way would be to plot a vertical line for x =0, but how do I choose y to be the min and max of my figure instead of my data ?
Cheers
0 commentaires
Réponse acceptée
Plus de réponses (1)
Nicolas
le 19 Août 2011
1 commentaire
Daniel Shub
le 19 Août 2011
In general it is bad practice to use function names as variable names as is done here with ylim=ylim( ...
For your own sanity later call ylim something else.
Voir également
Catégories
En savoir plus sur Visual Exploration 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!