www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/SpecifyLineColorAfterCreationExample.m
%% Specify Line Color After Creation % Create a polar plot and return the chart line object. theta = linspace(0,2*pi,25); rho = 2*theta; p = polarplot(theta,rho); %% % Change the line color and width and add markers. p.Color = 'magenta'; p.Marker = 'square'; p.MarkerSize = 8;