Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: 31 October 2013

URL: http://cxc.harvard.edu/chips/bugs/labels.html

Bugs: labels


Table of Contents

Caveats

Bugs


Caveats

Clipping labels is done by point clipping.

This means that if the point is in the data range, the whole label is displayed; otherwise, the whole label is clipped.


Bugs

Setting the axis label

If the an axis label is set using the axis.x.label or axis.y.label attributes of an add_<object> call then the string must be surrounded by double quotes if it contains spaces; for example:

chips> add_curve(time, zoff, ['axis.y.label', '"Z offset (arcsec)"'])

Bugs fixed in CIAO 4.5

The following is a list of bugs that were fixed in the CIAO 4.5 software release.

Setting a label to a user loaded font will cause ChIPS to SEGV.
(32-bit OSX)

chips> from pychips.all import *
chips> add_label(0.20, 0.25, 'PLOT')
chips> load_font('gothic', 'a010013l.pfb')
chips> set_label(['font', 'gothic')

At this point the ChIPS server - and hence the plot - disappears.

Unable to set coordsys via ChipsLabel object

In CIAO 4.3 you could say:

chips> li = ChipsLabel()
chips> li.coordsys = PLOT_NORM
chips> add_label(0.5, 0.9, "LABEL", li) 

In CIAO 4.4, it fails:

chips ERROR: Unknown or unsupported <obj>.<attribute> entry: label.coordsys 

Last modified: 31 October 2013
Smithsonian Institute Smithsonian Institute

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-2014. All rights reserved.