我正在使用Matlab7绘制玫瑰图。我想在玫瑰图上加一个额外的红色圆圈。
rose(data,nbins);
hold on我尝试了函数pdecirc,但它不起作用。Anyonce可以给我一个提示吗?
谢谢
发布于 2012-02-07 09:18:07
您可以执行以下操作:
% 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 offhttps://stackoverflow.com/questions/9169675
复制相似问题