mglib

Personal IDL library for M. Galloy

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

introspection/

mg_thumbnail.pro


Create a thumbnail image of a simple visualization of the data. The visualization type is guessed based on the dimensions of the data.

Routines

Routines from mg_thumbnail.pro

result = mg_thumbnail_lineplot(data [, /valid])

Create a line plot.

result = mg_thumbnail_contourplot(data [, /valid])

Create a contour plot.

result = mg_thumbnail_volumeplot(data [, /valid])

Create a volume visualization.

result = mg_thumbnail_image(data [, /valid])

Resize image to correct dimensions while preserving the aspect ratio.

result = mg_thumbnail(data [, /valid])

Dispatches data to proper helper routine to produce a simple thumbnail visualization of the data and returns the result as a true color image.

Routine details

top mg_thumbnail_lineplot

result = mg_thumbnail_lineplot(data [, /valid])

Create a line plot.

Return value

bytarr(3, m, n) or -1L

Parameters

data in required type=numeric array

data to visualize

Keywords

valid out optional type=boolean

set to a named variable to get status of visualization; if no valid visualization type could be found, -1L is returned

top mg_thumbnail_contourplot

result = mg_thumbnail_contourplot(data [, /valid])

Create a contour plot.

Return value

bytarr(3, m, n) or -1L

Parameters

data in required type=numeric array

data to visualize

Keywords

valid out optional type=boolean

set to a named variable to get status of visualization; if no valid visualization type could be found, -1L is returned

top mg_thumbnail_volumeplot

result = mg_thumbnail_volumeplot(data [, /valid])

Create a volume visualization.

Return value

bytarr(3, m, n) or -1L

Parameters

data in required type=numeric array

date to visualize

Keywords

valid out optional type=boolean

set to a named variable to get status of visualization; if no valid visualization type could be found, -1L is returned

top mg_thumbnail_image

result = mg_thumbnail_image(data [, /valid])

Resize image to correct dimensions while preserving the aspect ratio.

Return value

bytarr(3, m, n) or -1L

Parameters

data in required type=numeric array

data to visualize

Keywords

valid out optional type=boolean

set to a named variable to get status of visualization; if no valid visualization type could be found, -1L is returned

top mg_thumbnail

result = mg_thumbnail(data [, /valid])

Dispatches data to proper helper routine to produce a simple thumbnail visualization of the data and returns the result as a true color image.

Return value

bytarr(3, m, n) or -1L

Parameters

data in required type=numeric array

data to visualize

Keywords

valid out optional type=boolean

set to a named variable to get status of visualization; if no valid visualization type could be found, -1L is returned

File attributes

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