Change axis gridline line without affecting ticks and labels

7 ビュー (過去 30 日間)
Kyle Wang
Kyle Wang 2015 年 3 月 25 日
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.

回答 (0 件)

カテゴリ

Help Center および File ExchangeGrid Lines, Tick Values, and Labels についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by