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

Home » Public Forums » archive » Re: IDLgrAXIS annotation
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: IDLgrAXIS annotation [message #16431] Tue, 27 July 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Waleed Al-Nuaimy (geoserv@compuserve.com) writes:

> Hi. Is there a straightforward way to alter the font used for the tick
> labels of an IDLgrAXIS object?

Here is how I do it in my XPLOT program:

helvetica10pt = Obj_New('IDLgrFont', 'Helvetica', Size=10)
xAxis1 = Obj_New("IDLgrAxis", 0, Color=[255,255,0], Ticklen=0.025, $
Minor=4, Range=xrange, Title=xtitle, $
Location=[1000, 0 ,0], Exact=Keyword_Set(exact))
xAxis1->GetProperty, Ticktext=xAxisText
xAxisText->SetProperty, Font=helvetica10pt

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Previous Topic: anstrom
Next Topic: Re: Problems with system variables

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

Current Time: Sun Oct 12 13:07:09 PDT 2025

Total time taken to generate the page: 2.19889 seconds