mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

vis/flow/

mg_colorlic.pro

includes main-level program

Routines

top mg_colorlic

result = mg_colorlic(u, v [, scale=long], log=log [, _extra=keywords])

Create a LIC visualization where color denotes magnitude of the vector field.

Parameters

u in required type=fltarr(m, n)

x-coordinates of vector field

v in required type=fltarr(m, n)

y-coordinates of vector field

Keywords

scale in optional type=long default=1L

factor to REBIN u and v by

log
_extra in optional type=keywords

keywords to MG_LIC or MG_MAKETRUE

Examples

The following creates a color LIC visualization:

restore, filepath('globalwinds.dat', subdir=['examples','data']) loadct, 3 mg_image, mg_colorlic(u, v, scale=4), /new_window, /no_axes
This looks like:

File attributes

Modification date: Wed May 14 15:07:15 2014
Lines: 24
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.