0
我使用Matlab7繪製玫瑰圖。我想在玫瑰圖上增加一個額外的紅色圓圈。在Matlab圖上繪製額外的圓
rose(data,nbins);
hold on
我試過功能pdecirc
,但它不起作用。 Anyonce可以給我一個線索?
謝謝
我使用Matlab7繪製玫瑰圖。我想在玫瑰圖上增加一個額外的紅色圓圈。在Matlab圖上繪製額外的圓
rose(data,nbins);
hold on
我試過功能pdecirc
,但它不起作用。 Anyonce可以給我一個線索?
謝謝
你可以做到以下幾點:
% Draw rose
figure
load sunspot.dat % Contains a 2-column vector named sunspot
rose(sunspot(:,2),12)
hold on
% Draw a red circle
t = 0:.01:2*pi;
plot(2*sin(t)+20,2*cos(t)+20, '--rs','LineWidth',1);
hold off
感謝您的幫助:) – user1166251 2012-02-07 02:15:53