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/relativesize.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 relativesize Context: chips

Synopsis

Alters the relative size of drawing areas. The command RELSIZE is equivalent.

Syntax

chips> [D #] RELATIVESIZE [<column>] <size>

By default, <size> is 1.0.

Description

See the D command for more information about this argument.

The RELATIVESIZE command with no <column> argument will alter the relative sizes of drawing areas created with the SPLIT command. The command changes the size of the drawing area in relation to the other drawing areas.

The RELATIVESIZE command with a <column> argument will alter the width of a column of drawing areas.

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> SPLIT 2
chips> D 1 CURVE data/exampleA.dat
chips> D 2 CURVE data/exampleB.dat
chips> RELATIVESIZE 2.1

The curves are first plotted in separate drawing areas. The RELATIVESIZE 2.1 command changes the relative size of the current drawing area (number 2), to be 2.1 times the size of drawing area number 1.

Example 2

chips> RELATIVESIZE 1.0
chips> D 1 RELATIVESIZE 3.2

The relative sizes of the drawing areas from the previous example are returned to the default value of 1.0 (equal sizes). Drawing area 1 is then made 3.2 times the size of drawing area 2.

Example 3

chips> clear
chips> split 2 4
chips> RELSIZE 1 0.5

The current plot is cleared, then split into two columns of four drawing areas. The RELSIZE command makes the width of column one 50% of the width of column two.

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.