Skip to content

Commit

Permalink
bug fix for 1x4 cmaprange specification
Browse files Browse the repository at this point in the history
  • Loading branch information
bogpetre committed Sep 10, 2023
1 parent 04722a1 commit d049b93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CanlabCore/@image_vector/render_on_surface.m
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@
% option to match region.montage method

clim = varargin{i+1}; varargin{i+1} = [];
if length(clim)==4
clim = clim([1,end]);
end


case 'nolegend'

Expand Down

0 comments on commit d049b93

Please sign in to comment.