Commit ac47e81f authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: @graph: set prettier spacing of xticklabels

parent 8eed899f
......@@ -94,8 +94,9 @@ if ~isempty(o.shade)
set(gca(), 'children', children);
end
set(gca,'XTick', x);
set(gca,'XTickLabel', xlabels);
xticks = get(gca, 'XTick');
[junk, ix, junk] = intersect(x, xticks);
set(gca, 'XTickLabel', xlabels(ix));
if o.legend
lh = legend(line_handles, o.seriesElements.getTexNames());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment