About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/title.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 title Context: chips

Synopsis

Adds a title and/or changes the title attribute.

Syntax

chips> TITLE <color>
chips> TITLE ["<title_text>"]
chips> TITLE SIZE ["<size_value>"]

Description

Argument: <color>
Description: title color
Options: BLACK, BLUE, CYAN, DEFAULT, GREEN, MAGENTA, RED, WHITE, 
         YELLOW
Default: DEFAULT (appears in ChIPS window as white; prints as black)
Argument: <title_text>
Description: the text for the title, which must be in quotes 
             (" ").  The <text> may contain TeX syntax for 
             formatting text, creating mathematical expressions,
             and mixing font settings.
Options: quoted character string

The FONT command has more information about font options.

Argument: <size_value>
Description: title size 
Options: real numbers
Default: 1.0

Issuing this command with no argument will delete the current title.

CIAO allows some plot attributes to be changed using the ChIPS state object and resource file. See "ahelp chips" for further details.

Example 1

chips> D 1 CURVE data/example.dat X 1 Y 2
chips> TITLE "My Title"
chips> TITLE YELLOW

A data file is plotted and a title is added to a plot. The color of the title is then changed to yellow.

Example 2

chips> TITLE "x = \frac{y+z/2}{y^{2}+3}"

A title that contains a mathematical expression is added to a plot by using TeX syntax.

Example 3

chips> D 1 LABEL 2.0 50.0 "\oe This \rm is \gr Greek"

This LABEL command utilizes TeX syntax in order to achieve mixed font settings in the same plot. The command produces a label where "This" is in Old English font, "is" is in Roman font, and "Greek" is in the Greek font.

Bugs

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

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



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.