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

URL: http://cxc.harvard.edu/chips/unbind_axes.html
Jump to: Description · Examples · Bugs · See Also


AHELP for CIAO 4.5 ChIPS v1

unbind_axes

Context: axes

Synopsis

Removes the binding between a pair of axes.

Syntax

unbind_axes(axis1, axis2)
unbind_axes(ChipsId, plot2, axis2)

Description

  • ChipsId - an optional ChipsId structure containing the values to specify an axis whose binding should be removed
  • axis1 - the id of an axis whose binding should be removed
  • axis2 - the id of an axis whose binding should be removed
  • plot2 - the id of the plot containing the axis specified by axis2

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

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.

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.

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

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, unbind the y axes.

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 2012
CXC logo

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-2012. All rights reserved.