How to put text labels relative to axes in DS9?

420 Views Asked by At

I'm using pyds9 as a wrapper to DS9 and I want to put text labels on my images with positions relative to the axes and not the coordinates. This way, the labels won't get messed up no matter what zoom I apply to the image.

Currently I am only able to put text in specified positions:

d.set('regions','fk5; text %s,%s #text="TEXT" color=black'%(ra,dec))

I expected to just change the fk5 for other command and a (x,y) position from 0 to 1 but so far I haven't found anything.

0

There are 0 best solutions below