Re: Font size and axis range in 'IDLgrAxis' class [message #62025] |
Thu, 21 August 2008 05:34 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
steverajiv writes:
> I initialized an 'IDLgrAxis' object with a default title , font and
> axis range.
> I used 'IDLgrFont' and 'IDLgrText' objects for creating font size and
> title, and I set the range from 1 to 300
>
> I want to change the axis title and range (e.g 300 to 700), of the
> created IdlgrAxis object.
> After setting the new title and new range the font size of the axis
> title text was changed and elongated along the x direction!.
You are going to have to set a RECOMPUTE_DIMENSIONS keyword:
http://www.dfanning.com/ographics_tips/font_dimensions.html
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|