How can i increase the number of circles in a polar grid?

回答 (1 件)

Youssef  Khmou
Youssef Khmou 2014 年 7 月 2 日
編集済み: Youssef Khmou 2014 年 7 月 2 日

0 投票

In new version , there might be an option for increasing the number, however i made manual example here, in order to use it, try to define the range of your data and apply this technique :
% Polar plot with increased number of lines
r=0:1:10;
t=0:0.1:2*pi;
figure; grid off;
hold on;
for n=1:length(r)
plot(r(n)*cos(t),r(n)*sin(t),'-.');
end
% Lines
R=r(end);
N=10; % Number of lines
for n=1:N
x=[0 R*cos(2*pi*(n-1)/N)];
y=[0 R*sin(2*pi*(n-1)/N)];
h=line(x,y);
set(h,'LineStyle','-.');
end
% Plot the data : EXAMPLE OF SINUSOIDAL DATA
z=8*sin(2*pi*t);
polar(t,z);
title(' 8 sin(2*\pi*t)');

カテゴリ

ヘルプ センター および File ExchangePolar Plots についてさらに検索

タグ

質問済み:

2014 年 6 月 26 日

編集済み:

2014 年 7 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by