Hi Jane.
Just a thought, can you put labels on at specific grid or pixel
coords? you might be able to use WCSTRAN to convert the frequency into
a set of pixel coords.
Cheers
Dave
On Thu, Oct 8, 2009 at 8:50 AM, Jane Buckle <[log in to unmask]> wrote:
> Hi David,
>
> I want to do this for several different cubes, putting the same labels on,
> but they will be at different velocities, so I don't really want to do it
> through the cursor. However, as you say, it currently doesn't work in
> whatever manner you try it.
>
> Thanks for looking into it - it will be useful to be able to use linplot for
> paper plots, rather than having to use different software just because of
> labelling issues.
>
> Cheers,
>
> Jane
>
> David Berry wrote:
>>
>> Hi Jane,
>>
>> So you want to draw a text string at a place on the screen
>> corresponding to a particular velocity?
>>
>> In principle.... you should be able to use cursor or listmake to
>> create a catalogue holding the positions at which to draw the labels,
>> and then use "listshow plot=text strings=..." to draw the strings. But
>> there seem to be bugs in this scheme at the moment. I'll look into
>> them when I get back from ADASS (next week). You can also use "cursor
>> plot=text strings='"label 1,label 2,..."' " if you want to do it
>> directly with a cursor.
>>
>> David
>>
>>
>>
>>
>> 2009/10/7 Jane Buckle <[log in to unmask]>:
>>>
>>> Hi All,
>>>
>>> There has to be an easy way to do this, although its not obvious from the
>>> documentation.
>>>
>>> How do I label a spectrum from a 3D cube that I have plotted using
>>> linplot,
>>> at a particular position in velocity?
>>>
>>> Regards,
>>>
>>> Jane
>>>
>>> --
>>> Dr Jane V. Buckle
>>> Cavendish Astrophysics Group and Kavli Institute for Cosmology,
>>> Institute of Astronomy, University of Cambridge, Madingley Road,
>>> Cambridge
>>> CB3 0HE
>>> Tel: +44 (0)1223 746436
>>>
>
> --
> Dr Jane V. Buckle
> Cavendish Astrophysics Group and Kavli Institute for Cosmology,
> Institute of Astronomy, University of Cambridge, Madingley Road, Cambridge
> CB3 0HE
> Tel: +44 (0)1223 746436
>
|