Skip to content
Snippets Groups Projects
Commit 2cb40a65 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: @graph: set prettier spacing of xticklabels

parent 8947c52c
No related merge requests found
...@@ -94,8 +94,9 @@ if ~isempty(o.shade) ...@@ -94,8 +94,9 @@ if ~isempty(o.shade)
set(gca(), 'children', children); set(gca(), 'children', children);
end end
set(gca,'XTick', x); xticks = get(gca, 'XTick');
set(gca,'XTickLabel', xlabels); [junk, ix, junk] = intersect(x, xticks);
set(gca, 'XTickLabel', xlabels(ix));
if o.legend if o.legend
lh = legend(line_handles, o.seriesElements.getTexNames()); lh = legend(line_handles, o.seriesElements.getTexNames());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment