reporting: set up graph shade opacity
parent
96c8d33cff
commit
661d900f88
|
@ -142,8 +142,9 @@ if ~isempty(o.shade)
|
|||
date2string(o.shade(1)) ' or ' date2string(o.shade(end)) ' is not in the date ' ...
|
||||
'range of data selected.']);
|
||||
fprintf(fid, ['%%shading\n\\addplot[area legend,solid,fill=%s,' ...
|
||||
'opacity=.2,draw=black,forget plot]\ntable[row sep=crcr]{\nx y\\\\\n%d %d\\\\\n%d %d\\\\\n%d %d\\\\\n%d %d\\\\\n};\n'], ...
|
||||
o.shadeColor, x1, ymin, x1, ymax, x2, ymax, x2, ymin);
|
||||
'opacity=%f,draw=black,forget plot]\ntable[row sep=crcr]{\nx ' ...
|
||||
'y\\\\\n%d %d\\\\\n%d %d\\\\\n%d %d\\\\\n%d %d\\\\\n};\n'], ...
|
||||
o.shadeColor, o.shadeOpacity, x1, ymin, x1, ymax, x2, ymax, x2, ymin);
|
||||
end
|
||||
|
||||
for i=1:ne
|
||||
|
|
Loading…
Reference in New Issue