Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: December 2013

URL: http://cxc.harvard.edu/chips/ahelp/unbind_axes.html
AHELP for CIAO 4.6 ChIPS v1

unbind_axes

Context: axes

Synopsis

Removes the binding between a pair of axes.

Syntax

unbind_axes(axis1, axis2)
unbind_axes(id, plot2, axis2)

Description

The function arguments.

Argument Description
axis1 The name of the first axis.
axis2 The name of the second axis.
id A ChipsId structure defining the first axis.
plot2 The name of the plot containing the second axis.

The unbind_axes command decouples the specified pair of axes so that they no longer synchronize their limits, scales, and other data range attributes.

Example 1

chips> unbind_axes("ax1", "ax2")

Within one plot, unbind the axes ax1 and ax2.

Example 2

chips> id = ChipsId()
chips> id.plot = "plot1"
chips> id.axis = "ay1"
chips> unbind_axes(id, "plot2", "ay1")

Given a pair of plots (plot1 and plot2), unbind the y axes.

Synchronized Properties

Bound axes are intended to display the same range of data. The following attributes are synchronized between bound axes: automin, automax, majortick.mode, majortick.interval, majortick.count, minortick.mode, minortick.interval, minortick.count, pad, and tickformat. In addition, internally-managed values such as data ranges are also synchronized by the bind command.

Properties that are aesthetic in nature are not synchronized during the bind, such as colors, tick lengths, tick styles, grid styles, and tick label fonts.

Notes

What axes are bound together?

The info_bound_axes command is used to display the list of currently bound axes.

Border Axes

Border axes of plots are implicitly bound to the first set of axes that are created. They may be unbound using the unbind_axes command.

Related commands

The strip_chart command creates a column or row of plots where the common axes are bound together; it can be considered to be a combination of split and multiple bind_axes calls.

Bugs

See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.

See Also

axes
add_axis, bind_axes, current_axis, delete_axis, display_axis, display_major_ticks, display_minor_ticks, get_axis, get_xaxis, get_yaxis, hide_axis, hide_major_ticks, hide_minor_ticks, lin_scale, log_scale, move_axis, reverse_axes, set_arbitrary_tick_positions, set_axis, set_xaxis, set_yaxis, shuffle_axis
concepts
setget
utilities
set_current

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email:   cxcweb@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2014. All rights reserved.