Skip to content

Instantly share code, notes, and snippets.

@wanirepo
Last active July 31, 2016 23:56
Show Gist options
  • Save wanirepo/618f335c129caabd01b83a64cd2eed5f to your computer and use it in GitHub Desktop.
Save wanirepo/618f335c129caabd01b83a64cd2eed5f to your computer and use it in GitHub Desktop.
surface mapping example
poscm = colormap_tor([0.96 0.41 0], [1 1 0]); % warm
negcm = colormap_tor([0.11 0.46 1], [.23 1 1]); % cools
cluster_surf(cl ,which('surf_BrainMesh_ICBM152Right_smoothed.mat'), 2, 'heatmap', 'colormaps', poscm, negcm)
axis vis3d;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment