summaryrefslogtreecommitdiff
path: root/texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Listplot.sci
blob: 0bc9f736b7d6989a9bd9bac43e205c983593e84a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 
// 08.07.13
// 09.06.13

function Z=Listplot(varargin)
  Z=[];
  for I=1:length(varargin)
    Data=varargin(I);
    if Mixtype(Data)==1
      if size(Data,1)==1
        Tmp=matrix(Data,2,size(Data,2)/2);
        Z=[Z;Tmp'];
      else
        Z=[Z;Data];
      end;
    else
      for J=1:Mixlength(Data)
        Tmp=Mixop(J,Data);
        Z=[Z;Tmp];
      end
    end
  end
endfunction