Circular time plots using polarhistogram?
2 views (last 30 days)
Show older comments
Sadegh Rahimi on 17 Feb 2023
Commented: William Rose on 1 Mar 2023
I don't know how to make circular plots in Matlab. They can provide insight into patterns of activity based on time of day and are frequently used in research articles (like the attached figure). Is it possible to use polarhistogram to draw it? Thanks for your comments and suggestions!
Suppose you have the wind direction in degrees at 1 minute intervals for 1 day:
Make a histogram of the wind:
Maybe you don;t like that histogram because the degrees do not look like a compass. Suppose also that you want the histogram to have 15 degree segments (pi/12) instead of 30 degrees. Make those fixes as follows::
figure; polarhistogram(windDir, 'BinWidth',pi/12)
More Answers (0)
Find more on Polar Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!