
Polar P Color plot of excel sheet?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, I have a Xlsx sheet of the data of wind with days and time.
I want to use this function "polarPcolor" for ploting, anyone here who can help me.
many thanks.
0 件のコメント
採用された回答
Divyajyoti Nayak
2025 年 6 月 18 日
編集済み: Divyajyoti Nayak
2025 年 6 月 19 日
As of MATLAB R2025a, the 'surf' and 'pcolor' functions can be used to create colored plots on polar coordinates. This can be used as an alternative to the 'polarPcolor' functions from File Exchange.
Here's some sample code:
clc
clear
r = (linspace(0,100,100))';
theta = linspace(0,2*pi,100);
data = r*sin(theta);
p = polaraxes;
surf(p,data)

Here's the documentation for the 'surf' function to help you out:
0 件のコメント
その他の回答 (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!