1 %USING_HG2 Determine
if the HG2 graphics pipeline is used
6 % fig - handle to the figure in question.
9 % tf -
boolean indicating whether the HG2 graphics pipeline is being used
10 % (
true) or not (
false).
12 function tf = using_hg2(fig)
14 tf = ~graphicsversion(fig, 'handlegraphics');