Back to index

texmacs  1.0.7.15
Functions | Variables
__plt2ss__.m File Reference

Go to the source code of this file.

Functions

 usage (msg)
 elseif (nargin==2) fmt
 elseif (rows(fmt) > 1) fmt
 if (length(getenv("TEXMACS_PATH"))>0) gset output '/tmp/tmplot.eps'
endif if (x_nr==1 &&x_nr==y_nr &&x_nc==1 &&x_nc==y_nc) tmp
 eval (cmd)
 while (g==-1) sleep(1)
endwhile while (!feof(g)) f
 if (length(f)) P
endif endwhile fclose (g)
 disp (sprintf("%cverbatim:\n", 2))
 disp (setstr(P'))
 system ("rm /tmp/tmplot.eps")
endif else error ("__plt2ss__: arguments must be scalars")

Variables

function __plt2ss__ (x, y, fmt) if(nargin< 2||nargin > 3) msg = sprintf ("__plt2ss__ (x, y)")
 msg = sprintf ("%s __plt2ss__ (x, y, fmt)", msg)
 endif [x_nr, x_nc] = size (x)
 cmd = sprintf ("gplot tmp %s", fmt)
 g = fopen("/tmp/tmplot.eps")
 f
 P = [P

Function Documentation

disp ( sprintf("%cverbatim:\n", 2)  )
disp ( setstr(P')  )
elseif ( nargin  = =2)
elseif ( rows(fmt ,
 
)
endif else error ( "__plt2ss__: arguments must be scalars"  )
eval ( cmd  )
endif endwhile fclose ( g  )
if ( length(getenv("TEXMACS_PATH"))  ,
 
)
endif if ( x_nr  = =1 &&x_nr==y_nr &&x_nc==1 &&x_nc==y_nc)
if ( length(f )
system ( "rm /tmp/tmplot.eps"  )
usage ( msg  )
while ( g  = =-1)
endwhile while ( feofg)

Variable Documentation

function __plt2ss__(x, y, fmt) if(nargin< 2||nargin > 3) msg = sprintf ("__plt2ss__ (x, y)")
cmd = sprintf ("gplot tmp %s", fmt)

Definition at line 50 of file __plt2ss__.m.

endif[x_nr, x_nc] = size (x)

Definition at line 41 of file __plt2ss__.m.

f

Definition at line 62 of file __plt2ss__.m.

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

Definition at line 54 of file __plt2ss__.m.

msg = sprintf ("%s __plt2ss__ (x, y, fmt)", msg)

Definition at line 33 of file __plt2ss__.m.

P = [P

Definition at line 66 of file __plt2ss__.m.