- Scilab help
- Graphics
- 2d_plot
- LineSpec
- Matplot
- Matplot1
- Matplot_properties
- Sfgrayplot
- Sgrayplot
- champ
- champ1
- champ_properties
- comet
- 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 6.1.1. This page might be outdated.

See the recommended documentation of this function

# champ1

2D vector field plot with colored arrows

### Calling Sequence

champ1(x,y,fx,fy,[arfact,rect,strf])

### Arguments

- x,y
two vectors which define the grid.

- fx
a matrix which describes the x component of the vector field.

`fx(i,j)`

is the x component of the vector field at point`(x(i),y(j))`

.- fy
a matrix which describes the y component of the vector field.

`fy(i,j)`

is the y component of the vector field at point`(x(i),y(j))`

.- arfact
an optional argument of type real which gives a scale factor for the display of the arrow heads on the plot (default value is 1.0).

- rect
a vector

`rect=[xmin,ymin,xmax,ymax]`

which gives the boundaries of the graphics frame to use.- frameflag
controls the computation of the actual coordinate ranges from the minimal requested values. The associated value should be an integer ranging from 0 to 8.

- axesflag
specifies how the axes are drawn. The associated value should be an integer ranging from 0 to 5.

- strf
a string of length 3 "xyz" which has the same meaning as the

`strf`

parameter of`plot2d`

. The first character x has no effect with`champ1`

.

### Description

`champ1`

draws a 2D vector field with colored arrows. The
color of the arrows depends on the intensity of the field.

If you want arrows proportional to the intensity of the field, use
`champ`

.

Enter the command `champ1()`

to see a demo.

### See Also

### Authors

J.Ph.C.

## Comments

Add a comment:Please login to comment this page.