www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/DisplayTextAfterEachzAxisTickLabelExample.m
%% Display Text After Each _z_-Axis Tick Label % Create a 3-D line chart. Display the tick labels along the _z_-axis with % the text "cm" after each value. t = 0:pi/10:10*pi; st = sin(t); ct = cos(t); plot3(st,ct,t) grid on ztickformat('%g cm')