Skip to content

Commit

Permalink
histogram.m and correlationCircles.m now use "none" interpreter for d…
Browse files Browse the repository at this point in the history
…isplay
  • Loading branch information
dlegland committed Jul 21, 2021
1 parent 8b56878 commit 5694596
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions matStats/@Table/correlationCircles.m
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,13 @@
set(ax(1,i), 'XAxisLocation', 'Top');
xlabel(ax(1, i), obj.ColNames{i}, ...
'Visible', 'On', ...
'Interpreter', 'None', ...
'FontSize', 12, 'Rotation', 45, ...
'VerticalAlignment', 'Middle', ...
'HorizontalAlignment', 'Left');
ylabel(ax(i, 1), obj.ColNames{i}, ...
'Visible', 'On', ...
'Interpreter', 'None', ...
'FontSize', 12, 'Rotation', 0, ...
'VerticalAlignment', 'Middle', ...
'HorizontalAlignment', 'Right');
Expand Down
11 changes: 6 additions & 5 deletions matStats/@Table/histogram.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function histogram(obj, varargin)

% ------
% Author: David Legland
% e-mail: david.legland@inra.fr
% e-mail: david.legland@inrae.fr
% Created: 2010-08-06, using Matlab 7.9.0.529 (R2009b)
% Copyright 2010 INRA - Cepia Software Platform.

Expand Down Expand Up @@ -49,10 +49,11 @@ function histogram(obj, varargin)

end

% histogram of the selected column
% plot histogram of the selected column
histogram(data, varargin{:});
xlabel(obj.ColNames{1});

% decorate plot
xlabel(obj.ColNames{1});
if ~isempty(obj.Name)
title(obj.Name);
end
title(obj.Name, 'Interpreter', 'None');
end

0 comments on commit 5694596

Please sign in to comment.