polar data 3d plot
2 ビュー (過去 30 日間)
古いコメントを表示
I have my data in an array u with variales t (time), r (radius), and θ (polar angle). How can I plot the function at different times?
For example, I want to plot
for all
,
and
and
,
.
0 件のコメント
回答 (1 件)
Chunru
2023 年 12 月 4 日
r = linspace(0,100, 101)';
theta = linspace(0, 360, 61);
t = 1; % single t point for simplicity here
u = 1./r.*cos(2*pi*.05*r) .* ones(size(theta)); % generate some data to plot
xx = r.*cosd(theta);
yy = r.*sind(theta);
p = pcolor(xx, yy, u);
p.EdgeColor = 'none';
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Polar Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
