vis/flow/
mg_lic.pro
includes main-level program Example program demonstrating the use of MG_LIC
. Run the main-level example
program with:
IDL> .run mg_lic
MG_LIC
:
The next image introduces color by using HSV color coordinates with
hue equal to red, saturation equal to the vector field magnitude, and
value equal to MG_LIC
output:
The third image uses a color table to display the magnitude over the MG_LIC
output:
The second set of images are done with a smoothed instead of a random texture:
Routines
top mg_lic
mg_lic, u, v [, texture=bytarr(m, n)]
Compute the line integral convolution for a 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
- texture in optional type=bytarr(m, n)
random texture map; it is useful to use the same texture map for generating frames of a movie
File attributes
Modification date: | Wed May 14 15:07:15 2014 |
Lines: | 80 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.