mglib

Personal IDL library for M. Galloy

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

vis/objectgraphics/

mg_create_bubbles.pro


Routines

top mg_create_bubbles

result = mg_create_bubbles(x, y [, sizes=float/fltarr] [, /area] [, colors=bytarr] [, border_colors=bytarr] [, _extra=keywords])

Factory function to create an array of bubbles.

Parameters

x in required type=fltarr

x-coordinates of bubbles to create

y in required type=fltarr

y-coordinates of bubbles to create

Keywords

sizes in optional type=float/fltarr

sizes of bubbles to cycle through; size of radius unless AREA is set, in which case it is the size of the area of the bubble

area in optional type=boolean

set to specify SIZES as areas instead of radii

colors in optional type=bytarr

colors to cycle through, can be a 1-dimensional array of indices or 2-dimensional (i.e., m x 3) array of RGB color values

border_colors in optional type=bytarr

colors to cycle through for the bubble border, can be a 1-dimensional array of indices or 2-dimensional (i.e., m x 3) array of RGB color values

_extra in optional type=keywords

keywords to MGgrBubble::init

File attributes

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