Scilab 5.3.0
- 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
fgrayplot
2D plot of a surface defined by a function using colors
Calling Sequence
fgrayplot(x,y,f,[strf,rect,nax]) fgrayplot(x,y,f,<opt_args>)
Arguments
- x,y
real row vectors.
- f
external of type
y=f(x,y)
.- <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
).- strf,rect,nax
see
plot2d
.
Description
fgrayplot
makes a 2D plot of the surface given by z=f(x,y)
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.
Enter the command fgrayplot()
to see a demo.
Examples
t=-1:0.1:1; deff("[z]=my_surface(x,y)","z=x**2+y**2") fgrayplot(t,t,my_surface,rect=[-2,-2,2,2])
See Also
Authors
J.Ph.C.
<< fec_properties | 2d_plot | fplot2d >> |