www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/LineStyleMarkerSymbolAndColorOptionsExample.m
%% Line Style, Marker Symbol, and Color Options % Create a 3-D stem plot and specify the stem locations along a circle. % Set the stem to a dotted line style, the marker symbols to stars, and % the color to magenta. % Copyright 2015 The MathWorks, Inc. %% figure theta = linspace(0,2*pi); X = cos(theta); Y = sin(theta); Z = theta; stem3(X,Y,Z,':*m') %% % |X| and |Y| determine the stem locations. |Z| determines the marker heights.