On 13 May 2015 at 20:41, Pavol Federl <[log in to unmask]> wrote:
> When requesting external labels (i.e. "Labelling=external"), astPlot/Grid() sometimes ignore this request and produce internal labels. I was wondering if:
>
> a) is it possible to 'force' external labelling?
The Plot class has an undocumented attribute called ForceExterior
which can be set to a non-zero integer to force exterior labels. It's
been under test for quite a while now - I've not heard of any problems
with it (other than the obvious one that you may get an axis with few
or no labels), so I'll probably move it to list of documented
attributes in the next release of AST.
> b) is there a way to determine whether the labelling will be internal before calling astGrid()?
It should be just a case of getting the attribute value. If you access
the attribute before using astGrid, it will return the value that
would be used if astGrid were to be called with the current attribute
values:
labelling = astGetC( plot, "Labelling" );
astGrid( plot );
> c) if answer to (b) is false, is there at least a way to determine whether the labelling was internal after calling astGrid()?
Also just a case of getting the value of the Labelling attribute.
David
----
Starlink User Support list
For list configuration, including subscribing to and unsubscribing from the list, see
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK
|