<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

ToBeReviewed/PLOTS/VECTEUR/

vecteur.pro

Trace vectors (even if they are on a deformed grid) on any projection. In this way, all vectors have a comparable norme on the drawing (to be clear, a vector which measure 1 cm measure it, no matter the projection and is position on the sphere).

Routine summary

result = cv_cm2normal(angle)

normalise, u, v, w

vecteur, composanteu, composantev, normevecteur, indice2d, reduitindice2d, CMREF=CMREF, MISSING=MISSING, NORMEREF=NORMEREF, VECTCOLOR=VECTCOLOR, VECTTHICK=VECTTHICK, VECTREFPOS=VECTREFPOS, VECTREFFORMAT=VECTREFFORMAT, NOVECTREF=NOVECTREF, _extra=_extra

topcv_cm2normal

result = cv_cm2normal(angle)

Return value

Parameters

angle       

Examples

Version history

Version

$Id: vecteur.pro 157 2006-08-21 09:01:50Z navarro $

History

Known issues

Restrictions

Statistics

McCabe cyclic 1
McCabe essential 1
McCabe modular design 1

topnormalise

normalise, u, v, w

Parameters

u       

v       

w       

Examples

Version history

Version

$Id: vecteur.pro 157 2006-08-21 09:01:50Z navarro $

History

Known issues

Restrictions

Statistics

McCabe cyclic 2
McCabe essential 1
McCabe modular design 1

topvecteur Graphics

vecteur, composanteu, composantev, normevecteur, indice2d, reduitindice2d, CMREF=CMREF, MISSING=MISSING, NORMEREF=NORMEREF, VECTCOLOR=VECTCOLOR, VECTTHICK=VECTTHICK, VECTREFPOS=VECTREFPOS, VECTREFFORMAT=VECTREFFORMAT, NOVECTREF=NOVECTREF, _extra=_extra

Parameters

composanteu        in required

It is the u component of the vector to be traced. This 2d array has the same dimension that reduitindice2d (see further)

composantev        in required

It is the v component of the vector to be traced. This 2d array has the same dimension that reduitindice2d (see further)

normevecteur       

indice2d        in required

It in an index allowing to to pass from an jpi or jpj array to the zoom on which we do the drawing

reduitindice2d        in required

It is an index allowing to pass from an array defined by indice2d to the array for which we really have vectors to be traced (to be clear, it is for example when we trace only one vector on two).

Keywords

CMREF        default: between .5 and 1.5 cm

The length in cm that must measure the arrow normed normeref. By default, it is adjusted to other drawing and included between .5 and 1.5 cm.

MISSING       

The value of a missing value. Do not use this keyword. Fixed at 1e5 by ajoutvect.pro

NORMEREF       

The norme of the reference arrow.

VECTCOLOR        default: 0

The color of the arrow. Black by default (color 0)

VECTTHICK        default: 1

The thick of the arrow.

VECTREFPOS       

Vector composed of 2 elements specifying the position on DATA coordinates from the beginning of the reference vector. By default at the right bottom of the drawing.

VECTREFFORMAT       

The format to be used to specify the norme of the reference vector.

NOVECTREF       

To delete the display of the reference vector.

_extra       

Used to pass your keywords

Version history

Version

$Id: vecteur.pro 157 2006-08-21 09:01:50Z navarro $

History

Creation : 13/02/98 G. Roullet (grlod@lodyc.jussieu.fr) Modification : 14/01/99 realise la transformation spherique<->cartesien G. Roullet 12/03/99 verification de la routine G. Roullet 8/11/1999: G. Roullet et Sebastien Masson (smasson@lodyc.jussieu.fr) adaptation pour les zoom. reverification...traitement separe de la direction et de la norme des vecteurs. mots cles NORMEREF et CMREF.

Other attributes

Uses routines

common.pro

Statistics

McCabe cyclic 20
McCabe essential 1
McCabe modular design 1
Produced by IDLdoc 2.0.