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

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

scatterlimits

Context: contrib

Synopsis

Change the limits of one variable in a scatter plot.

Syntax

scatterlimits(vid, lo, hi)

The routine is also available as chips_contrib.scatter.slimits()

Description

Change the limits used to display one of the variables in a grid of plots created by the scatterplots() command.

Selecting the variable

The vids argument is either the name of the variable or the number of the variable in the plot (the first variable has the value 0). Unknown variables are ignored, and name comparisons are case insensitive.

Loading the routine

The routine can be loaded into a ChIPS, Sherpa or Python session by saying:

from chips_contrib.scatter import *

or, to access the qualified version,

from chips_contrib import scatter

after which the scatter.slimits() routine can be used.

Example

chips> from chips_contrib.scatter import *
chips> add_window(9, 9, 'inches')
chips> scatterplots('iris.fits')
chips> scatterlimits('sepal_length', 0, 8)

The first line - "from chips_contrib.scatter import *" - loads the scatterplot routines; it only needs to be made once per ChIPS session. The scatterlimits command changes the sepal_length variable to be displayed over a range of 0 to 8.

Changes in the scripts 4.7.1 (December 2014) release

This routine is new in this release.

Bugs

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

See Also

contrib
scatterplots, scatterscale

Last modified: December 2014
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:   cxchelp@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2017. All rights reserved.