comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Different charsize for axis title and labels?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Different charsize for axis title and labels? [message #85870 is a reply to message #85869] Sun, 15 September 2013 18:22 Go to previous messageGo to previous message
dg86 is currently offline  dg86
Messages: 118
Registered: September 2012
Senior Member
On Sunday, September 15, 2013 6:28:20 PM UTC-4, David Fanning wrote:
> David Grier writes:
>
>
>
>>
>
>> On Sunday, September 15, 2013 3:21:36 PM UTC-4, Paul Levine wrote:
>
>>> Another simple axis labeling question that is probably very basic but
>
>>>
>
>>> is confounding me:
>
>>>
>
>>>
>
>>>
>
>>> Can the size of the text in axis titles be set independently from axis
>
>>>
>
>>> labels? [XYZ]CHARSIZE sets both. Must I simply leave the title out of
>
>>>
>
>>> the call to AXIS and instead use XYOUTS (or cgText)?
>
>>>
>
>>>
>
>>>
>
>>> Thanks in advance
>
>>
>
>> I enthusiastically second this request. I typically want axis labels a few
>
>> points larger than tick labels for publication-quality plots. It should
>
>> be possible to expose the properties of the axis label independently
>
>> of those of the tick labels.
>
>
>
> Try the [XYZ]Charsize keywords. These are scaled in relationship to the
>
> value established by the CHARSIZE keyword.
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")

Setting charsize and [x,y,z]charsize works for direct graphics. In function graphics,
however, the only accessible property is FONT_SIZE, which sets the same size for
both the axis title and the tick labels. This seems to be a limitation of the underlying
AXIS object which has the property TICKFONT_SIZE, but not a separate property for
the title font size.

Perhaps if there were some way to get access to the IDLgrAxis object that must be
the basis for AXIS, it would be possible to set properties for the title, which is an
IDLgrText object. I haven't cracked that nut yet, unfortunately.

All the best,

David
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Texture image on a 3d curve: cgsurface and xobjview problems
Next Topic: data changes fast / Integration

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Nov 30 14:47:13 PST 2025

Total time taken to generate the page: 0.56435 seconds