59 views (last 30 days)

Show older comments

Matt Fig
on 30 Apr 2011

Walter hit on the only solution that makes sense to me. It is not that bad, for instance:

% Sample Data...

A = linspace(0,2*pi,16);

B = A.^2;

mat = repmat((0:1/15:1).',1,3);

polar(A,B);hold on % If you want a connecting line.

for ii = 16:-1:1

L(ii) = polar(A(ii),B(ii),'o');

hold on

set(L(ii),'markerfacecolor',mat(ii,:),...

'markeredgecolor',mat(ii,:))

end

Walter Roberson
on 30 Apr 2011

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

Start Hunting!