Skip the navigation links
Search the ChIPS website or
contact the CXC HelpDesk
Last modified: 9 July 2009
URL: http://cxc.harvard.edu/chips4.1/gallery/index.py.html
ChIPS Homepage
Choosing Python or S-Lang
Converting to the New Syntax
Analysis Threads
ChIPS
Sherpa
General
ChaRT
Help Pages (AHELP)
Alphabetical:
Python
|
S-Lang
By context
Using ahelp
Gallery of Examples
Thumbnail View:
S-Lang
|
Python
List View:
S-Lang
|
Python
Concepts
Attributes
ChipsId
Colors
Coordinates
Currency
Depth control
Item Creation
Preferences
Set/Get attributes
Values of attributes
Documentation
FAQ
Bug List
Conversion Guides
Publications
CXC Links
CIAO (Data Analysis)
Sherpa (Modeling and Fitting)
Gallery of ChIPS examples (Python)
Introductory examples
Plot two columns from a file
A radial profile drawn as a histogram
Contour an image using the WCS axes
Two curves in a plot
Multiple histograms within a plot
Use the sky coordinate system to contour an image
Placing one plot within another plot
Plotting related values in a strip chart
Using a filled region (solid) to show the error bounds
Filling a region with a pattern to show the error bounds
Basic curves
A curve marked with symbols and connected by a red line
A curve marked with diamonds
A curve connected by a dotted line
A curve showing the full range of options
Overplotting curves
Two curves in the same plot
Two curves in the same plot, one with error bars
Histograms
Displaying (x,y) data points as a histogram
Displaying (xlow,xhigh,y) data points as a histogram
A histogram which shows the bin edges
A histogram showing the full range of options
Filling a histogram with a pattern
Contours
A simple contor plot
Two sets of contours in the same plot
Contouring an image using the WCS information
Multiple plots
Data, fit, and residuals
Data, residuals, and contours in one frame
Data and residuals in one frame, contours in another
Sharing an axis between plots
Three datasets in separate plots with a common axis
Three datasets in separated plots
Three datasets in separate plots with a hidden X axis
A grid where the plots share axes and the plot sizes are different
Error bars
Symmetric Y errors
Errors for both the X and Y axes
A histogram with errors and symbols
Axis styles and grids
The default plot style is to show all four axes (closed)
The open plot style only displays two axes
The boxed plot style draws a box around the plot
Numeric labels (ticklabels) on all four axes
Rotating the numbers along an axis
Changing the format used to display the labels
Using sexagesimal notation for the axis labels
Changing the number of major tick marks (using mode=interval)
Changing the number of major tick marks (using mode=count)
Displaying a grid at the major tick mark locations
Add a grid at the major and minor tick mark locations
Grids work with logarithmically-scaled axes too
Adding axes
Using a line to indicate an axis
Adding an extra axis to a plot
A single plot containing two datasets with a common axis
Two y axes on the left of the plot
Moving axes
Moving the axes so they go through (0,0)
Moving the axes and using a boxed border
Moving the axes with an open border
Last modified: 9 July 2009
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-2004. All rights reserved.