subroutines/actogra​ph

Version 1.0.0.0 (85.9 KB) by Brad
actograph is a matlab function for plotting circadian rhythm actograms
246 Downloads
Updated 17 Aug 2015

actograph evoked with zero inputs generates & plots sample data
>> actograph()

you can save the simulated dataset to your workspace by:

>> simData = actograph()

actograph evoked with an arg plots *your* circadian rhythem data

>> actograph(dataMx)
Where dataMx is a data matrix structured such that each row represents your binned activity data as you want it plotted. Basically, WYSIWYG. Each value from the dataMx will be plotted as a bar in the actogram. Each row in the dataMx will be a new row in the actogram. So if, for example, you want 48 hours worth of data plotted on the same row in the actogram, and the next 48 hours on the next row (and so on...) just put that 48 hours worth of data in the same row of the dataset you send to actograph. Try it out...

>> actograph()

>> actograph(repmat([1:24 1:24],[20 1]))

>> days = 20; binsPerDay = 96
>> actograph(rand(days, binsPerDay))

Cite As

Brad (2024). subroutines/actograph (https://github.com/bradmonk/actograph), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on 2-D and 3-D Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.