Back to index

texmacs  1.0.7.15
Functions | Variables
__plt2mm__.m File Reference

Go to the source code of this file.

Functions

 usage (msg)
 elseif (nargin==2||fmt=="") fmt
 if (length(getenv("TEXMACS_PATH"))>0) gset output '/tmp/tmplot.eps'
 if (x_nr==y_nr &&x_nc==y_nc) if(x_nc > 0) tmp
 if (k< fmt_nr) k++
endif endfor 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 ("__plt2mm__: arguments must be a matrices")
endif else error ("__plt2mm__: matrix dimensions must match")

Variables

function __plt2mm__ (x, y, fmt) if(nargin< 2||nargin > 3) msg = sprintf ("__plt2mm__ (x, y)\n")
 msg = sprintf ("%s __plt2mm__ (x, y, fmt)", msg)
 endif [x_nr, x_nc] = size (x)
endif k = 1
 fmt_nr = rows (fmt)
 cmd
endif for i
 g = fopen("/tmp/tmplot.eps")
 f
 P = [P

Function Documentation

disp ( sprintf("%cverbatim:\n", 2)  )
disp ( setstr(P')  )
elseif ( nargin  = =2||fmt=="")
endif else error ( "__plt2mm__: arguments must be a matrices"  )

Here is the caller graph for this function:

endif else error ( "__plt2mm__: matrix dimensions must match"  )
endif endfor eval ( cmd  )
endif endwhile fclose ( g  )
if ( length(getenv("TEXMACS_PATH"))  ,
 
)
endif if ( x_nr  = =y_nr &&x_nc==y_nc)
if ( )
if ( length(f )
system ( "rm /tmp/tmplot.eps"  )
usage ( msg  )

Here is the caller graph for this function:

while ( g  = =-1)
endwhile while ( feofg)

Variable Documentation

function __plt2mm__(x, y, fmt) if(nargin< 2||nargin > 3) msg = sprintf ("__plt2mm__ (x, y)\n")
cmd
Initial value:
 sprintf ("gplot tmp(:,%d:%d:%d) %s", 1, x_nc, x_nc+1,
                     deblank (fmt (k, :)))

Definition at line 51 of file __plt2mm__.m.

endif[x_nr, x_nc] = size (x)

Definition at line 39 of file __plt2mm__.m.

f

Definition at line 75 of file __plt2mm__.m.

fmt_nr = rows (fmt)

Definition at line 47 of file __plt2mm__.m.

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

Definition at line 67 of file __plt2mm__.m.

Initial value:
 2:x_nc
        cmd = sprintf ("%s, tmp(:,%d:%d:%d) %s", cmd, i, x_nc, x_nc+i,
                       deblank (fmt (k, :)))

Definition at line 56 of file __plt2mm__.m.

endif k = 1

Definition at line 46 of file __plt2mm__.m.

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

Definition at line 33 of file __plt2mm__.m.

P = [P

Definition at line 79 of file __plt2mm__.m.