Skip to content

Commit

Permalink
Default color ranges for 2D data have been set to full range when nec…
Browse files Browse the repository at this point in the history
…essary, in order to attract the user attention on potential outliers.
  • Loading branch information
ggalibert committed Jul 12, 2018
1 parent 371319f commit 0d44466
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Graph/TimeSeries/setTimeSerieColorbarContextMenu.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
switch upper(var.name(1:4))
case {'UCUR', 'VCUR', 'WCUR', 'ECUR', 'VEL1', 'VEL2', 'VEL3', 'VEL4'} % 0 centred parameters
colormap(r_b);
cbCLimRange('', '', 'auto, 0 centred', var.data);
cbCLimRange('', '', 'full, 0 centred', var.data); % full is chosen to attract attention on any potential outlier

% Define a context menu
hMenu = uicontextmenu;
Expand Down Expand Up @@ -116,7 +116,7 @@

case {'CSPD', 'VDEN', 'VDEV', 'VDEP', 'VDES'} % [0; oo[ paremeters
colormap(parula);
cbCLimRange('', '', 'auto from 0', var.data);
cbCLimRange('', '', 'full', var.data); % full is chosen to attract attention on any potential outlier

% Define a context menu
hMenu = uicontextmenu;
Expand All @@ -143,7 +143,7 @@
% let's apply a colormap like jet but starting from white
load('jet_w.mat', '-mat', 'jet_w');
colormap(jet_w);
cbCLimRange('', '', 'auto from 0', var.data);
cbCLimRange('', '', 'full', var.data); % full is chosen to attract attention on any potential outlier

% Define a context menu
hMenu = uicontextmenu;
Expand All @@ -170,7 +170,7 @@

otherwise
colormap(parula);
cbCLimRange('', '', 'full', var.data);
cbCLimRange('', '', 'full', var.data); % full is chosen to attract attention on any potential outlier

% Define a context menu
hMenu = uicontextmenu;
Expand Down

0 comments on commit 0d44466

Please sign in to comment.