I have my code which is plotting results in a loop. I am visualizing them on the volumeviewer in 3D. for every frame in my loop there is a new figure and it updates accordingly.
my code is this:
normalizedData = (compressed_hbt - globalMin) / (globalMax - globalMin);
normalizedData(normalizedData < 0) = 0;
normalizedData(normalizedData > 1) = 1;
vol_hbt = volshow(zeros(size(compressed_hbt)), ...
'Alphamap', (linspace(0,0.7,256).^2));
vol_hbt.Data = normalizedData;
but I want to insert a colorbar with values fixed into the volume viewer. I tried different approaches, but it won't show in the window. the axis can just be a fixed jet colorbar iwth constant ticks & a title. How can i realize this?