Skip to content

PRITS_TOOLS::WRITE_IMAGE_REAL_SIZE

Martin Wiesmann edited this page Oct 26, 2022 · 10 revisions

Description

This routine creates an image of the data including optional axis titles and ranges. The focus of this procedure is the size of the data image. The size of the image is calculated so that the data image itself has the exact desired size, by default the same size as the input data array, so that each pixel in the data array is represented by one pixel in the output file. The size of the image can be manipulated with the keywords SCALE_FACTOR, HEIGHT and WIDTH. The image can be saved in different file formats.

Syntax

prits_tools.write_image_real_size, IMAGE_DATA [, FILENAME] [, COLORTABLE=COLORTABLE] [, FORMAT=FORMAT] [, XRANGE1=XRANGE1] [, XRANGE2=XRANGE2] [, YRANGE1=YRANGE1] [, YRANGE2=YRANGE2] [, XTITLE1=XTITLE1] [, XTITLE2=XTITLE2] [, YTITLE1=YTITLE1] [, YTITLE2=YTITLE2] [, TITLE=TITLE] [, BACKGROUND_COLOR=BACKGROUND_COLOR] [, TEXT_COLOR=TEXT_COLOR] [, BORDER=BORDER] [, SCALE_FACTOR=SCALE_FACTOR] [, HEIGHT=HEIGHT] [, WIDTH=WIDTH] [, CUTOFF_THRESHOLD=CUTOFF_THRESHOLD] [, COLOR_CENTER_VALUE=COLOR_CENTER_VALUE] [, JPEG_QUALITY=JPEG_QUALITY] [, /SHOW_PLOT] [, /REVERSE_COLORTABLE] [, _EXTRA=_EXTRA]

Return value

This blabla returns a string or a number.

Arguments

arg1

Some required input.

arg2

Some required input.

Optional Input

optArg1

Some optional input.

optInput

Some optional input, as a keyword.

Optional Output

optOutput

Some optional output, as a keyword.

Keywords

keyword1

If set, then something weird happens

Clone this wiki locally