From 138f77fe71e43adc24ecb030d73df81cc5c4eb7e Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 4 Sep 2017 09:45:51 +0900 Subject: add ketpic --- .../ketpic/ketlib/ketpicscifiles6/Pointdata.sci | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 texmf-dist/scripts/ketpic/ketlib/ketpicscifiles6/Pointdata.sci (limited to 'texmf-dist/scripts/ketpic/ketlib/ketpicscifiles6/Pointdata.sci') diff --git a/texmf-dist/scripts/ketpic/ketlib/ketpicscifiles6/Pointdata.sci b/texmf-dist/scripts/ketpic/ketlib/ketpicscifiles6/Pointdata.sci new file mode 100755 index 00000000..35e2347e --- /dev/null +++ b/texmf-dist/scripts/ketpic/ketlib/ketpicscifiles6/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 -- cgit v1.2.3