Query: plgradient
OS: debian
Section: 3plplot
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PLGRADIENT(3plplot) PLplot API PLGRADIENT(3plplot)NAMEplgradient - Draw linear gradient inside polygonSYNOPSISplgradient(n, x, y, angle)DESCRIPTIONDraw 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.ARGUMENTSn (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.AUTHORSGeoffrey 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 ALSOPLplot documentation at http://plplot.sourceforge.net/resources. August, 2012 PLGRADIENT(3plplot)
Related Man Pages |
---|
plfill3(3plplot) - debian |
plpoly3(3plplot) - debian |
plstransform(3plplot) - debian |
plvpas(3plplot) - debian |
plvpor(3plplot) - debian |
Similar Topics in the Unix Linux Community |
---|
sK1 vector in on good illustrations |
Help with identify gradient and the coefficient of determination of a straight line |