Stabilizing the colormap range to compare two surface plot diagrams in Matlab -
whatever tried couldn't stabilize colors of 2 diagrams. when values decrease 0 - 30 0-1 colormap adapts new values. in figures attached, need stabilize first color scale 0-30, , second legend should dark blue surface.
disregard y-values.
thank , advices.
the partial code below.
args = {time,freq,abs(cfs).^2}; surf(args{:},'edgecolor','none'); view(0,90); axis tight; shading interp; colormap(parula(128)); h = colorbar; i tried didn't work.
set(h,'ylim',[0 100]); yal=linspace(1,100); set(h,'ytick',yal);


Comments
Post a Comment