makeVerticalAxis: Create a vertical axis

View source: R/makeCFObjects.R

makeVerticalAxisR Documentation

Create a vertical axis

Description

With this method you can create a vertical axis to use with new CFVariable instances. Note that you should set the "positive" attribute after creating the axis to indicate if values are increasing going upwards (positive = "up") or downwards (positive = "down").

Usage

makeVerticalAxis(name, values, bounds, attributes = NULL)

Arguments

name

Name of the axis.

values

The coordinate values.

bounds

The bounds of the coordinate values, or NULL if not available.

attributes

data.frame with the attributes of the axis to create. Attributes "actual_range" and "axis" will be set or updated.

Value

A CFAxisVertical instance.


ncdfCF documentation built on Sept. 13, 2025, 5:07 p.m.