- Scilab Online Help
- Graphics Library
- 2d_plot
- LineSpec
- Matplot
- Matplot1
- Matplot_properties
- Sfgrayplot
- Sgrayplot
- champ
- champ1
- champ_properties
- contour2d
- contour2di
- contourf
- errbar
- fchamp
- fcontour2d
- fec
- fec_properties
- fgrayplot
- fplot2d
- grayplot
- grayplot_properties
- graypolarplot
- histplot
- oldplot
- paramfplot2d
- plot
- plot2d
- plot2d1
- plot2d2
- plot2d3
- plot2d4
- plot2d_old_version
- polarplot
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
grayplot
2D plot of a surface using colors
Calling Sequence
grayplot(x,y,z,[strf,rect,nax]) grayplot(x,y,z,<opt_args>)
Arguments
- x,y
real row vectors of size n1 and n2.
- z
real matrix of size (n1,n2).
z(i,j)
is the value of the surface at the point (x(i),y(j)).- <opt_args>
This represents a sequence of statements
key1=value1, key2=value2
,... wherekey1
,key2,...
can be one of the following: rect, nax, strf or axesflag and frameflag (seeplot2d
andplot2d_old_version
).- strf,rect,nax
see
plot2d
.
Description
grayplot
makes a 2D plot of the surface given by
z
on a grid defined by x
and y
.
Each rectangle on the grid is filled with a gray or color level depending
on the average value of z
on the corners of the
rectangle. If z contains %nan values, the surounding rectangles are not displayed.
Enter the command grayplot()
to see a demo.
Examples
See Also
Authors
J.Ph.C.
<< fplot2d | 2d_plot | grayplot_properties >> |