mglib

Personal IDL library for M. Galloy

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

vis/lineplots/

mg_checkerboard.pro


Routines

top mg_checkerboard

result = mg_checkerboard( [block_size=long] [, colors=bytarr(2)])

Returns a checkerboard pattern suitable for use with the PATTERN keyword to POLYFILL.

Return value

bytarr(2 * block_size, 2 * block_size)

Keywords

block_size in optional type=long default=1L

size of one square of the checkerboard in pixels

colors in optional type=bytarr(2) default=[0B, 255B]

alternating colors for the two types of squares in the checkerboard

File attributes

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