File Exchange

image thumbnail

CirHeatmap

version 1.71 (342 KB) by Joshua Welsh
Grouped Circular Heatmap Function

4 Downloads

Updated 06 Oct 2020

View Version History

GitHub view license on GitHub

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 (2020). CirHeatmap (https://github.com/joadwe/cirheatmap/releases/tag/v1.71), GitHub. Retrieved .

Comments and Ratings (1)

Z Chen

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: circlePlot

Community Treasure Hunt

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

Start Hunting!