summaryrefslogtreecommitdiff
path: root/modules/graphics/macros/xgetech.sci
diff options
context:
space:
mode:
Diffstat (limited to 'modules/graphics/macros/xgetech.sci')
-rwxr-xr-xmodules/graphics/macros/xgetech.sci20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/graphics/macros/xgetech.sci b/modules/graphics/macros/xgetech.sci
new file mode 100755
index 000000000..c6c9080ae
--- /dev/null
+++ b/modules/graphics/macros/xgetech.sci
@@ -0,0 +1,20 @@
+//
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2012-2012 - Scilab Enterprises - Bruno JOFRET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+//
+//
+function [wrect, frect, logflag, arect]=xgetech()
+
+ a = gca();
+ wrect = a.axes_bounds;
+ frect = matrix(a.data_bounds, 1, 4);
+ logflag = part(a.log_flags, 1:2);
+ arect = a.margins;
+
+endfunction