lineplots/
mg_themeriver.pro
includes main-level programtopmg_themeriver
mg_themeriver, x, data, colors [, show_lines=lonarr] [, axis_color=color] [, color=color] [, _extra=keywords]
Create a theme river style plot.
Parameters
- x in required type=fltarr(n)
x-coordinates of data
- data in required type=fltarr(nlines, n)
multiple y-coordinates of data values (nlines number of datasets)
- colors in required type=bytarr(nlines - 1)
colors of shaded regions between datasets (starting from the bottom)
Keywords
- show_lines in optional type=lonarr
indices of dataset lines in data to overplot
- axis_color in optional type=color
color of axis
- color in optional type=color
color of lines
- _extra in optional type=keywords
keywords to plot (for axis) and oplot (for dataset lines overplotted)
Examples
See the main-level program at the end of this file:
IDL> .run mg_themeriver
This will produce a result like
File attributes
| Modification date: | Wed Mar 5 08:52:43 2008 |
| Lines: | 103 |
| Docformat: | rst rst |
![[attach.png]](../idldoc-resources/attach.png)