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
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 source 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 source 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 source 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 source 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 source 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: | Mon Nov 29 18:32:28 2010 |
Lines: | 283 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.