Back to index

texmacs  1.0.7.15
Functions | Variables
__errplot__.m File Reference

Go to the source code of this file.

Functions

 if (length(getenv("TEXMACS_PATH"))>0) gset output '/tmp/tmplot.eps' = [2
endif while (nargin--) a
 if (!isstr(a)) ndata++
 eval (sprintf("arg%d = a;", ndata))
 if (ndata==2) for i
 eval (cmd)
end elseif (ndata==3) for i = 1:nplots
 eval (tstr)
endfor if (index(fmt,"boxxy")||index(fmt,"xyerr")) tstr
 elseif (index(fmt,"xerr")) tstr
 while (g==-1) sleep(1)
endwhile while (!feof(g)) f = fread(g,2048)
 if (length(f)) P = [P
endif endwhile fclose (g)
 disp (sprintf("%cverbatim:\n", 2))
 disp (setstr(P'))
 system ("rm /tmp/tmplot.eps")

Variables

function __errplot__ (...) if(nargin< 3) usage("__errplot__ (arg1
function fmt = __pltopt__ ("__errplot__", fstr)
endif fstr = " "
 ndata = 0
 nplots = size (arg1, 2)
 len = size (arg1, 1)
 tmp = [(1:len)', arg1(:,i), arg2(:,i)]
 cmd = sprintf ("gplot tmp %s", fmt(min(i, rows(fmt)), :) )
end tstr = "tmp =[arg1(:,i)"
for j = 2:ndata
endfor else for i = 1:nplots
 g = fopen("/tmp/tmplot.eps")
 f
 P = [P

Function Documentation

disp ( sprintf("%cverbatim:\n", 2)  )
disp ( setstr(P')  )
endfor elseif ( ndata  = = 3) = 1:nplots
elseif ( index(fmt,"xerr")  )
eval ( sprintf("arg%d = a;", ndata)  )
eval ( cmd  )
eval ( tstr  )
endif endwhile fclose ( g  )

Here is the caller graph for this function:

if ( length(getenv("TEXMACS_PATH"))  ,
 
) = [2
if ( isstra)
if ( ndata  = = 2)
endfor if ( index(fmt,"boxxy")||index(fmt,"xyerr")  )
if ( length(f ) = [P
system ( "rm /tmp/tmplot.eps"  )

Here is the caller graph for this function:

endif while ( nargin--  )
while ( g  = =-1)
endwhile while ( feofg) = fread(g,2048)

Variable Documentation

function __errplot__(...) if(nargin< 3)usage("__errplot__ (arg1
cmd = sprintf ("gplot tmp %s", fmt(min(i, rows(fmt)), :) )

Definition at line 71 of file __errplot__.m.

f

Definition at line 128 of file __errplot__.m.

endif endwhile fmt = __pltopt__ ("__errplot__", fstr)

Definition at line 42 of file __errplot__.m.

else fstr = " "

Definition at line 45 of file __errplot__.m.

g = fopen("/tmp/tmplot.eps")

Definition at line 120 of file __errplot__.m.

for i = 1:nplots

Definition at line 106 of file __errplot__.m.

for j = 2:ndata

Definition at line 77 of file __errplot__.m.

len = size (arg1, 1)

Definition at line 66 of file __errplot__.m.

ndata = 0

Definition at line 47 of file __errplot__.m.

nplots = size (arg1, 2)

Definition at line 65 of file __errplot__.m.

P = [P

Definition at line 132 of file __errplot__.m.

tmp = [(1:len)', arg1(:,i), arg2(:,i)]

Definition at line 70 of file __errplot__.m.

endfor tstr = "tmp =[arg1(:,i)"

Definition at line 76 of file __errplot__.m.