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

reporting: @graph: use green shading which is easier to see because...

reporting: @graph: use green shading which is easier to see because 'FaceAlpha' doesn't work on octave (at least on os x)
parent a3cf461b
Branches
Tags
No related merge requests found
......@@ -86,7 +86,8 @@ if ~isempty(o.shade)
% From ShadePlotForEmpahsis (Matlab Exchange)
% use patch bc area doesn't work with matlab2tikz
sh = patch([repmat(x1, 1, 2) repmat(x2, 1, 2)], ...
[yrange fliplr(yrange)], 'b', 'FaceAlpha', .2);
[yrange fliplr(yrange)], [0 1 0], ...
'FaceAlpha', .2);
children =get(gca(), 'children');
children = [children(2:end); sh];
set(gca(), 'children', children);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment