Create multiple scatter plots (CIAO contributed package)
from chips_contrib import scatter from chips_contrib.scatter import *
The chips_contrib.scatter module provides routines to make it easy to create and modify multiple scatter plots, also known as scatterplot matrices. Examples of such routines include: Scatter-Matrix.js, scatterplots in R, and visualizing Fisher's Iris data set. The module is provided as part of the CIAO contributed scripts package.
Loading the routines
The module can be loaded into ChIPS, Sherpa or Python scripts by saying one of the following:
from chips_contrib.scatter import * from chips_contrib.all import *
where the second line will load in all the ChIPS contributed routines, not just the scatter module.
The scatter module currenly provides four routines:
|scatterplots()||splots()||Create, or add to, a set of scatter plots.|
|scatterlog()||slog()||Change the display of one or more variables to use a logarithmic scale.|
|scatterlin()||slin()||Change the display of one or more variables to use a linear scale.|
|scatterlimits()||slimits()||Change the data range displayed for a variable.|
The short-form variants listed above are only available when using a qualified import: e.g.
chips> from chips_contrib import scatter chips> scatter.splots('srcs.fits[cols z,lx,alpha,hr]') chips> scatter.slog(['lx'])
Changes in the scripts 4.7.1 (December 2014) release
The chips_contrib.scatter module is new in this release.
See the bugs pages on the CIAO website for an up-to-date listing of known bugs.