2012-02-07 172 views
0

我使用Matlab7绘制玫瑰图。我想在玫瑰图上增加一个额外的红色圆圈。在Matlab图上绘制额外的圆

rose(data,nbins); 
hold on 

我试过功能pdecirc,但它不起作用。 Anyonce可以给我一个线索?

谢谢

回答

0

你可以做到以下几点:

% 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 
+0

感谢您的帮助:) – user1166251 2012-02-07 02:15:53