Change axis gridline line without affecting ticks and labels
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
The following codes produce a sponge-cake shaped object:
img = zeros(100,100)+5;
img(1,:)=0;
img(end,:)=0;
img(:,1)=0;
img(:,end)=0;
surf(img)
shading interp
axis tight
How can I:
1. suppress z-axis 2. suppress x- and y-axis grid line 3. print the ticks on the side surface, tick color = white 4. re-scale the x- and y-axis labels by /10.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148338/image.png)
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Axis Labels dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!