Change axis gridline line without affecting ticks and labels
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!