
Polar P Color plot of excel sheet?
    조회 수: 2 (최근 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!

