vis/flow/
mg_colorlic.pro
includes main-level programRoutines
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
orMG_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
File attributes
Modification date: | Wed May 14 15:07:15 2014 |
Lines: | 24 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.