A function that allows plotting of a data array in a circular heatmap.
Optionally spatially separating groups can be achieved by using a cell array with a data array of each group per cell.
Allows input for the cmocean toolbox colormaps on the file exchange.
Example:
close all
clear
%% Online examples
DataX{1} = rand(100, 10); % Create dataset of 3 groups
DataX{2} = -rand(100, 5);
DataX{3} = rand(100, 7);
x = 1:1:100;
Labels = [];
for i = 1:numel(x)
Labels{i} = ['Label ', num2str(x(i))]; % Create labels for each column
end
Groups = {'Pre', 'During','After'}; % Create labels for each group
[Fig] = CirHeatmap(DataX', 'GroupLabels', Groups,'OuterLabels', Labels, 'CircType', 'half','InnerSpacerSize',0.5);
Cite As
Joshua Welsh (2024). CirHeatmap (https://github.com/joadwe/cirheatmap/releases/tag/v2.0.1), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
2.0.1 | See release notes for this release on GitHub: https://github.com/joadwe/cirheatmap/releases/tag/v2.0.1 |
||
1.71 | See release notes for this release on GitHub: https://github.com/joadwe/cirheatmap/releases/tag/v1.71 |
||
1.8 | See release notes for this release on GitHub: https://github.com/joadwe/cirheatmap/releases/tag/v1.8 |
||
1.7 | - EdgeColor is transparent by default and can be customised.
|
|
|
1.6.0.0 | Bug fix |
||
1.5.0.0 | Description update |
||
1.4.0.0 | Updated default colormap and input for colormap specification
|
||
1.3.0.0 | Removed unnecessary file paths. |
||
1.2.0.0 | Example provided |
||
1.1.0.0 | Screenshot updated |
||
1.0.0.0 |