Skip to the navigation links
Last modified: 11 October 2018

URL: https://cxc.cfa.harvard.edu/chips/gallery/index.html

Gallery of ChIPS examples

Introductory examples

  1. Plot two columns from a file
  2. A radial profile drawn as a histogram
  3. Contour an image using the WCS axes
  4. Display an image with a color bar
  5. Two curves in a plot
  6. Multiple histograms within a plot
  7. Reading in data from FITS and ASCII files
  8. Use the sky coordinate system to contour an image
  9. Display an image and overlay contours
  10. Placing one plot within another plot
  11. Plotting related values in a strip chart
  12. Using a filled region (solid) to show the error bounds
  13. Filling a region with a pattern to show the error bounds
  14. Display a three-color image
  15. Re-sizing a plot to match the aspect ratio of an image
  16. Moving an axis, plotting a cumulative distribution, and using Sherpa

Basic curves

  1. A curve marked with symbols and connected by a red line
  2. A curve marked with diamonds
  3. A curve connected by a dotted line
  4. A curve showing the full range of options

Overplotting curves

  1. Two curves in the same plot
  2. Two curves in the same plot, one with error bars

Histograms

  1. Displaying (x,y) data points as a histogram
  2. Displaying (xlow,xhigh,y) data points as a histogram
  3. A histogram which shows the bin edges
  4. A histogram showing the full range of options
  5. Filling a histogram with a pattern
  6. Comparing two histograms

Contours

  1. A simple contor plot
  2. Two sets of contours in the same plot
  3. Contouring an image using the WCS information
  4. Displaying contours from DS9

Images

  1. Overlay Chandra contours on an optical image
  2. The alpha channel can be used to blend together multiple images
  3. Show the different colormaps available within ChIPS
  4. Using extra colormaps, read from a file
  5. Creating a color map directly
  6. Adjusting the alpha values to hide low-signal data
  7. Overlay a plot on an image
  8. WCS Axis grids
  9. Create a grid of thumbnail images of Chandra sources

Multiple plots

  1. Data, fit, and residuals
  2. Data, residuals, and contours in one frame
  3. Data and residuals in one frame, contours in another
  4. A scatterplot of the Fisher Iris data set

Annotations

  1. Using regular-sided regions to show the fill styles provided by ChIPS
  2. Using regions to display the field-of-view files of a Chandra observation
  3. Comparing Chandra and Suzaku observations
  4. The COSMOS survey

Sharing an axis between plots

  1. Three datasets in separate plots with a common axis
  2. Three datasets in separated plots
  3. Three datasets in separate plots with a hidden X axis
  4. A grid where the plots share axes and the plot sizes are different

Error bars

  1. Symmetric Y errors
  2. Errors for both the X and Y axes
  3. A histogram with errors and symbols

Axis styles and grids

  1. The default plot style is to show all four axes (closed)
  2. The open plot style only displays two axes
  3. The boxed plot style draws a box around the plot
  4. Numeric labels (ticklabels) on all four axes
  5. Rotating the numbers along an axis
  6. Changing the format used to display the labels
  7. Using sexagesimal notation for the axis labels
  8. Changing the number of major tick marks (using mode=interval)
  9. Changing the number of major tick marks (using mode=count)
  10. Displaying a grid at the major tick mark locations
  11. Add a grid at the major and minor tick mark locations
  12. Grids work with logarithmically-scaled axes too
  13. Change the axis labels to use strings rather than numbers
  14. Adding a background to a plot

Adding axes

  1. Using a line to indicate an axis
  2. Adding an extra axis to a plot
  3. Adding extra axes to a plot
  4. A single plot containing two datasets with a common axis
  5. Two y axes on the left of the plot
  6. Creating axes using a WCS transform

Moving axes

  1. Moving the y axis
  2. Moving the axes so they go through (0,0)
  3. Adjusting axis labels
  4. Moving the axes and using a boxed border
  5. Moving the axes with an open border
  6. Move axes away from the plot
  7. Move axes away from the plot
  8. Moving axes away from an image