source: issm/trunk/externalpackages/export_fig/using_hg2.m@ 19105

Last change on this file since 19105 was 19105, checked in by Mathieu Morlighem, 10 years ago

merged trunk-jpl and trunk for revision 19103

  • Property svn:executable set to *
File size: 383 bytes
Line 
1%USING_HG2 Determine if the HG2 graphics pipeline is used
2%
3% tf = using_hg2(fig)
4%
5%IN:
6% fig - handle to the figure in question.
7%
8%OUT:
9% tf - boolean indicating whether the HG2 graphics pipeline is being used
10% (true) or not (false).
11
12function tf = using_hg2(fig)
13try
14 tf = ~graphicsversion(fig, 'handlegraphics');
15catch
16 tf = false;
17end
18end
Note: See TracBrowser for help on using the repository browser.