DimensionScale.setLabel

void setLabel(hid_t did, uint idx, string label)

Sets a label for a dataset dimension.

Labels provide human-readable names for dimensions independent of any attached dimension scales.

Parameters

didDataset identifier
idxIndex of the dimension
labelLabel string

Throws

HDF5Exception if the operation fails.