summaryrefslogtreecommitdiff
path: root/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Setangle.sci
diff options
context:
space:
mode:
Diffstat (limited to 'texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Setangle.sci')
-rwxr-xr-xtexmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Setangle.sci17
1 files changed, 17 insertions, 0 deletions
diff --git a/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Setangle.sci b/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Setangle.sci
new file mode 100755
index 00000000..2a4a3c95
--- /dev/null
+++ b/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Setangle.sci
@@ -0,0 +1,17 @@
+// 08.07.11
+// 08.08.12
+// 09.02.27
+
+function Setangle(varargin)
+ global PHI THETA;
+ Nargs=length(varargin);
+ if Nargs<2
+ Mixdisp(Mix('theta=',THETA*180/%pi));
+ Mixdisp(Mix('phi=',PHI*180/%pi));
+ return;
+ else
+ PHI=varargin(2)*%pi/180;
+ THETA=varargin(1)*%pi/180;
+ end
+endfunction;
+