|
Last change
on this file since 19105 was 19105, checked in by Mathieu Morlighem, 11 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 |
|
|---|
| 12 | function tf = using_hg2(fig)
|
|---|
| 13 | try
|
|---|
| 14 | tf = ~graphicsversion(fig, 'handlegraphics');
|
|---|
| 15 | catch
|
|---|
| 16 | tf = false;
|
|---|
| 17 | end
|
|---|
| 18 | end
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.