cls_BaseAxis - almarklein/visvis GitHub Wiki

Inherits from Wobject.

This is the (abstract) base class for all axis classes, such as the CartesianAxis and PolarAxis.

An Axis object represents the lines, ticks and grid that make up an axis. Not to be confused with an Axes, which represents a scene and is a Wibject.

The BaseAxis class implements the following properties:
axisColor, gridLineStyle, showBox, showGrid, showGridX, showGridY, showGridZ, showMinorGrid, showMinorGridX, showMinorGridY, showMinorGridZ, tickFontSize, xLabel, xTicks, yLabel, yTicks, zLabel, zTicks

Properties

Get/Set the color of the box, ticklines and tick marks.

Get/Set the style of the gridlines as a single char similar to the lineStyle (ls) property of the line wobject (or in plot).

Get/Set whether to show the box of the axis.

Show/hide the grid for the x,y and z dimension.

Get/Set whether to show a grid for the x dimension.

Get/Set whether to show a grid for the y dimension.

Get/Set whether to show a grid for the z dimension.

Show/hide the minor grid for the x, y and z dimension.

Get/Set whether to show a minor grid for the x dimension.

Get/Set whether to show a minor grid for the y dimension.

Get/Set whether to show a minor grid for the z dimension.

Get/Set the font size of the tick marks.

Get/Set the label for the x dimension.

Get/Set the ticks for the x dimension.

The value can be: * None: the ticks are determined automatically. * A tuple/list/numpy_array with float or string values: Floats specify at which location tickmarks should be drawn. Strings are drawn at integer positions corresponding to the index in the given list. * A dict with numbers or strings as values. The values are drawn at the positions specified by the keys (which should be numbers).

Get/Set the label for the y dimension.

Get/Set the ticks for the y dimension.

The value can be: * None: the ticks are determined automatically. * A tuple/list/numpy_array with float or string values: Floats specify at which location tickmarks should be drawn. Strings are drawn at integer positions corresponding to the index in the given list. * A dict with numbers or strings as values. The values are drawn at the positions specified by the keys (which should be numbers).

Get/Set the label for the z dimension.

Get/Set the ticks for the z dimension.

The value can be: * None: the ticks are determined automatically. * A tuple/list/numpy_array with float or string values: Floats specify at which location tickmarks should be drawn. Strings are drawn at integer positions corresponding to the index in the given list. * A dict with numbers or strings as values. The values are drawn at the positions specified by the keys (which should be numbers).

⚠️ **GitHub.com Fallback** ⚠️