mglib

Personal IDL library for M. Galloy

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

vis/lineplots/

mg_themeriver.pro

direct graphics

includes main-level program

Create a theme river style plot.

Examples

See the main-level program at the end of this file:

IDL> .run mg_themeriver
The first example is similar to an error plot:

The second example produces a stacked plot like:

Routines

top mg_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

colors of lines

_extra in optional type=keywords

keywords to plot (for axis) and oplot (for dataset lines overplotted)

File attributes

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