reporting: @graph: use green shading which is easier to see because 'FaceAlpha' doesn't work on octave (at least on os x)

remove-priordens
Houtan Bastani 2013-04-09 11:49:16 +02:00
parent dd987523c8
commit 22962be7c1
1 changed files with 2 additions and 1 deletions

View File

@ -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);