plvec2: Vector plot, general 2-d mapping for Fortran 77

The PLplot Plotting Library: Programmer's Reference Manual
Prev | Chapter 20. The Specialized Fortran 77 API for PLplot | Next

### `plvec2`: Vector plot, general 2-d mapping for Fortran 77

`plvec2` (u, v, nx, ny, scale, xg, yg);

Draws a vector plot of the data in `(`u`[`nx`][`ny`], `v`[`nx`][`ny`])`.

`u, v` (`PLFLT **`, input) Pointer to a pair of vectored two-dimensional arrays containing the x and y components of the vector 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 calculated 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``. `xg, yg` (`PLFLT *`, input) Pointers to arrays which specify the transformation from array indices to world coordinates. These must be two-dimensional arrays, used for a transformation of the form: `tx` = `f(x, y)`, `ty` = `f(x, y)`. Function values at locations between grid points are obtained via linear interpolation.

NOTE: this function is intended for use from a Fortran 77 caller only. The C user should instead call `plvect` using the built-in transformation function `pltr2` for the same capability.

Prev | Home | Next
`plvec1`: Vector plot, general 1-d mapping for Fortran 77 | Up | `plvect`: Vector plot, fixed linear mapping for Fortran 77