Skip to content

Commit

Permalink
removed default rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-s committed Apr 24, 2020
1 parent 373065d commit a4b7e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion violinplot.m
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
thisData = data(cats == thisCat);
violins(n) = Violin(thisData, n, varargin{:});
end
set(gca, 'XTick', 1:length(catnames), 'XTickLabels', catnames_labels,'XTickLabelRotation',45);
set(gca, 'XTick', 1:length(catnames), 'XTickLabels', catnames_labels);

% 1D data, no categories
elseif not(hascategories) && isvector(data)
Expand Down

0 comments on commit a4b7e8e

Please sign in to comment.