Change axis gridline line without affecting ticks and labels

1 vue (au cours des 30 derniers jours)
Kyle Wang
Kyle Wang le 25 Mar 2015
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.

Réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by