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

How do I create a plot of an image?


Images can be created using either make_figure or add_image:

make_figure("img.fits", "image")
make_figure("img.fits", "image", ["colormap", "heat"])

add_image("img.fits")
add_image("img.fits", ["colormap", "heat"])

The ChIPS Gallery

More examples can be seen in the ChIPS Gallery.



Last modified: 27 November 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.