Skip to content

SPICE_DATA::get_axis_title

Martin Wiesmann edited this page Nov 25, 2022 · 2 revisions

Source code: SPICE_DATA::get_axis_title

Class: SPICE_DATA

Description

Returns name of axis, if axis is not provided a string vector will be returned that contains the names of all axes. The name of the axis includes its unit in square brackets, except if the pixels keyword is set, then it says pixels instead of units, or if no_unit keyword is set.

Syntax

axis_titles = spice_object->get_axis_title( [axis] [, /pixels] [, /no_unit] )

Return Value

String or string array.

Arguments

axis

Scalar or array of indices of axes. Default is all axes ([0,1,2,3]).

Keywords

pixels

Return 'pixels' as unit

no_unit

Do not include units in axis name

Clone this wiki locally