Man Scilab

Matplot
Scilab Function

Matplot - 2D plot of a matrix using colors

Calling Sequence

Matplot(a,[strf,rect,nax])
Matplot(a,<opt_args>)

Parameters

Description

The entries of matrix int(a) are used as colormap entries in the current colormap. The color associated to a(i,j) is used do draw a small square of length 1 with center at location (x=j,y=(n1-i+1)) .

Enter the command Matplot() to see a demo.

Examples


Matplot([1 2 3;4 5 6])
// draw the current colormap 
Matplot((1:xget("lastpattern")))
 
  

See Also

colormap ,   plot2d ,   Matplot1 ,  

Author

J.Ph.C.

Back