comparison scripts/image/image.m @ 3426:f8dde1807dee

[project @ 2000-01-13 08:40:00 by jwe]
author jwe
date Thu, 13 Jan 2000 08:40:53 +0000
parents 69b167451491
children e031284eea27
comparison
equal deleted inserted replaced
3425:8625164a0a39 3426:f8dde1807dee
20 ## -*- texinfo -*- 20 ## -*- texinfo -*-
21 ## @deftypefn {Function File} {} image (@var{x}, @var{zoom}) 21 ## @deftypefn {Function File} {} image (@var{x}, @var{zoom})
22 ## Display a matrix as a color image. The elements of @var{x} are indices 22 ## Display a matrix as a color image. The elements of @var{x} are indices
23 ## into the current colormap and should have values between 1 and the 23 ## into the current colormap and should have values between 1 and the
24 ## length of the colormap. If @var{zoom} is omitted, a value of 4 is 24 ## length of the colormap. If @var{zoom} is omitted, a value of 4 is
25 ## assumed. 25 ## assumed.
26 ## @end deftypefn 26 ## @end deftypefn
27 27
28 ## SEE ALSO: imshow, imagesc, colormap. 28 ## SEE ALSO: imshow, imagesc, colormap.
29 29
30 ## Author: Tony Richardson <arichard@stark.cc.oh.us> 30 ## Author: Tony Richardson <arichard@stark.cc.oh.us>
57 57
58 ## Need to let the shell clean up the tmp file because we are putting 58 ## Need to let the shell clean up the tmp file because we are putting
59 ## the viewer in the background. 59 ## the viewer in the background.
60 60
61 command = sprintf ("( %s || %s && %s ) > /dev/null 2>&1 &", 61 command = sprintf ("( %s || %s && %s ) > /dev/null 2>&1 &",
62 xv, xloadimage, rm); 62 xv, xloadimage, rm);
63 63
64 system (command); 64 system (command);
65 65
66 endfunction 66 endfunction