plvec1: Vector plot, general 1-d mapping for Fortran 77

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

### `plvec1`: Vector plot, general 1-d mapping for Fortran 77

`plvec1` (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 one-dimensional arrays, used for a transformation of the form: `tx` = `f(x)`, `ty` = `f(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 `pltr1` for the same capability.

Prev | Home | Next
`plvec0`: Vector plot, identity mapping for Fortran 77 | Up | `plvec2`: Vector plot, general 2-d mapping for Fortran 77