[Top] [Prev] [Next] [Bottom]

SDsetdimstrs/sfsdmstr

intn SDsetdimstrs(int32 dim_id, char *label, char *unit, char *format)
dim_id

IN:

Dimension identifier returned from SDgetdimid

label

IN:

Label that describes this dimension

unit

IN:

Unit to be used with this dimension

format

IN:

Format to be used to display scale

Purpose

Sets the label, unit, and format strings for a given dimension.

Return value

Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.

Description

SDsetdimstrs sets the label, unit, and format specifications for a dimension and its scale. If NULL is passed for a string, that string will not be written.

FORTRAN

integer function sfsdmstr(dim_id, label, unit, format)

integer dim_id

character* (*) label, unit, format



[Top] [Prev] [Next] [Bottom]

hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.