NCL Home > Documentation > HLUs > Classes

DataSpec class

The DataSpec class provides a way to describe data-specific plot attributes.


Header file:		<None>
Class name:		dataSpecClass
Class pointer:		<Not referenceable>
Fortran class function:	<Not referenceable>
Superclass:		Base
Composite classes:	<None>


Local resources

The DataSpec class doesn't define any public resources.

Superclass resources

There are no Superclass resources.


The DataSpec class is used as a building block for all the data-specific classes. Currently, XyDataSpec is the only DataSpec subclass that is used.

Quite often, there are plot attributes that are specific to the data being visualized. For example, when you use XyPlot to visualize coordinate data, the line labels that are drawn with each line are specified using a data-specific resource. Since it is possible to add multiple DataItems to the xyCoordData resource, it is necessary to be able to set these data-specific resources for each DataItem that gets added to the xyCoordData resource.

Support functions

This function just determines if a given object id identifies a DataSpec class object.

See also