Polar plot for time representation

I have some data collected every minute for a year. I am trying to make a circular plot (maybe a polar plot?) to represent the circadian trends on a kind of a crooked 24-hr "clock" but get nothing usable at all. Any ideas how to fit that into anything circular?

1 Comment

Did you ever find a solution to this? Currently working on a similar problem

Sign in to comment.

Answers (1)

t = 0:(60*24*365); % time in min
x = 1.5 + sin(2*pi*t/1000); % data
polarplot(t/(60*24)*2*pi, x); % 1 day for 2pi radian

Categories

Asked:

on 1 Jan 2018

Answered:

on 12 Jul 2022

Community Treasure Hunt

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

Start Hunting!