From 80a2b2444d38257c79a31e129515c046a5859914 Mon Sep 17 00:00:00 2001 From: valentin-pinkau Date: Wed, 11 Dec 2024 11:11:42 +0100 Subject: [PATCH] use colormap specified by user --- +siibra/+items/Region.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/+siibra/+items/Region.m b/+siibra/+items/Region.m index ce4e99a..287f4f0 100644 --- a/+siibra/+items/Region.m +++ b/+siibra/+items/Region.m @@ -109,7 +109,7 @@ function visualizeInTemplate(obj, space, colormap_name) hVolumeContinuous = volshow(template, ... OverlayData=cast(continuousMap * 254 + 1, "uint8"), ... OverlayRenderingStyle="VolumeOverlay", ... - OverlayColormap=colormap("hot"), ... + OverlayColormap=colormap(colormap_name), ... RenderingStyle="GradientOpacity", ... Parent=viewer, ... Alphamap=linspace(0,0.2,256));