summaryrefslogtreecommitdiff
path: root/texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Pointdata.sci
diff options
context:
space:
mode:
Diffstat (limited to 'texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Pointdata.sci')
-rw-r--r--texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Pointdata.sci25
1 files changed, 25 insertions, 0 deletions
diff --git a/texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Pointdata.sci b/texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Pointdata.sci
new file mode 100644
index 00000000..35e2347e
--- /dev/null
+++ b/texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Pointdata.sci
@@ -0,0 +1,25 @@
+//
+// 08.05.23
+// 09.09.18
+// 13.05.03 list of points is outputted
+
+function PL=Pointdata(varargin)
+ Nargs=length(varargin);
+ PL=list();
+ for I=1:Nargs
+ DL=varargin(I);
+ DL=Flattenlist(DL);
+ for K=1:length(DL);
+ Dt=DL(K);
+ for J=1:size(Dt,1)
+ Tmp=Dt(J,:);
+ if Tmp(1)~=%inf then
+ PL($+1)=Tmp;
+ end
+ end
+ end;
+ end;
+ if length(PL)==1
+ PL=PL(1);
+ end;
+endfunction