Re: vector length

From: Dave Brown (dbrown AT unknown)
Date: Thu Nov 11 1999 - 18:44:58 MST


>
> I would like to have the vector length constant for a particular wind speed
> (e.g., 5 m/s) when plotting wind fields at different time periods (i.e.,
> different maximum wind speed in the field). What is the best way to do this?
>
> | Neil F. Laird
> |

If you are using VectorPlot from ncl or the HLU C or Fortran interface, set
vcRefMagnitudeF to the magnitude you want to use as the reference
(e.g., 5 m/s). Set vcRefLengthF to the length in normalized device
coordinates that you want to use for arrows representing the reference
magnitude.

The equivalent parameters in the LLU Vectors utility are VRM
for the reference magnitude and VRL for reference length. These function
in the same way as the HLU resources, except that the units of VRL are
"fraction of viewport width" rather than NDC. Set them using VVSETR.

 Dave Brown
 dbrown AT unknown



This archive was generated by hypermail 2b29 : Wed Jun 28 2000 - 09:40:37 MDT