Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

plvect(3plplot) [debian man page]

PLVECT(3plplot) 						    PLplot API							   PLVECT(3plplot)

NAME
plvect - Vector plot SYNOPSIS
plvect(u, v, nx, ny, scale, pltr, pltr_data) DESCRIPTION
Draws a vector plot of the vector (u[nx][ny],v[nx][ny]). The scaling factor for the vectors is given by scale. A transformation routine pointed to by pltr with a pointer pltr_data for additional data required by the transformation routine is used to map indices within the array to the world coordinates. The style of the vector arrow may be set using plsvect(3plplot). Redacted form: plvect(u, v, scale, pltr, pltr_data) This function is used in example 22. ARGUMENTS
u, v (PLFLT **, input) Pointers to a pair of vectored two-dimensional arrays containing the x and y components of the vector data to be plotted. nx, ny (PLINT, input) Physical dimensions of the arrays u and v. scale (PLFLT, input) Parameter to control the scaling factor of the vectors for plotting. If scale = 0 then the scaling factor is automatically calcu- lated for the data. If scale < 0 then the scaling factor is automatically calculated for the data and then multiplied by -scale. If scale > 0 then the scaling factor is set to scale. pltr (void (*) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer) , input) Pointer to function that defines transformation between indices in array z and the world coordinates (C only). Transformation func- tions are provided in the PLplot library: pltr0(3plplot) for identity mapping, and pltr1(3plplot) and pltr2(3plplot) for arbitrary mappings respectively defined by one- and two-dimensional arrays. In addition, user-supplied routines for the transformation can be used as well. Examples of all of these approaches are given in the PLplot documentation. The transformation function should have the form given by any of pltr0(3plplot), pltr1(3plplot), or pltr2(3plplot). pltr_data (PLPointer, input) Extra parameter to help pass information to pltr0(3plplot), pltr1(3plplot), pltr2(3plplot), or whatever routine that is externally supplied. AUTHORS
Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere. SEE ALSO
PLplot documentation at http://plplot.sourceforge.net/resources. August, 2012 PLVECT(3plplot)

Check Out this Related Man Page

PLGRADIENT(3plplot)						    PLplot API						       PLGRADIENT(3plplot)

NAME
plgradient - Draw linear gradient inside polygon SYNOPSIS
plgradient(n, x, y, angle) DESCRIPTION
Draw a linear gradient using colour map 1 inside the polygon defined by the n points (x[i], y[i]). Interpretation of the polygon is the same as for plfill(3plplot). The polygon coordinates and the gradient angle are all expressed in world coordinates. The angle from the x axis for both the rotated coordinate system and the gradient vector is specified by angle. The magnitude of the gradient vector is the difference between the maximum and minimum values of x for the vertices in the rotated coordinate system. The origin of the gradient vec- tor can be interpreted as being anywhere on the line corresponding to the minimum x value for the vertices in the rotated coordinate sys- tem. The distance along the gradient vector is linearly transformed to the independent variable of colour map 1 which ranges from 0. at the tail of the gradient vector to 1. at the head of the gradient vector. What is drawn is the RGBA colour corresponding to the indepen- dent variable of colour map 1. For more information about colour map 1 (see the PLplot documentation). Redacted form: plgradient(x,y,angle) This function is used in examples 25,30. ARGUMENTS
n (PLINT, input) Number of vertices in polygon. x (PLFLT *, input) Pointer to array with x coordinates of vertices. y (PLFLT *, input) Pointer to array with y coordinates of vertices. angle (PLFLT, input) Angle (degrees) of gradient vector from x axis. AUTHORS
Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere. SEE ALSO
PLplot documentation at http://plplot.sourceforge.net/resources. August, 2012 PLGRADIENT(3plplot)
Man Page