On Wed, 21 Apr 2004, Peter W. Draper wrote:
> On Tue, 20 Apr 2004, Tim Jenness wrote:
>
> > Now that AST supports sub- and super-scripting, some tools are being
> > caught off guard.
> >
> > I have a NDF label (generated by specx2ndf) which is:
> >
> > T%s60+%v30+A%^50+%<20+*%+ corrected antenna temperature
> >
> > This gets plotted fine in splat and linplot etc but tools such as treeview
> > and splat (when it is showing the text of the label, not plotting it) show
> > the above string.
> >
> > Is there an easy way to ask AST for the label with the escape codes
> > stripped for text display?
>
> You can ask AST to strip these out for all non-astPlot calls, that's what
> the astEscapes function provides for (and I believe is the default).
Okay. It seems that SPLAT does that now :-)
ndftrace and treeview still don't (treeview should probably show the full
escapes in the tree view, but stripped of escapes in the Overview panel
on the right.
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|