ticklen in NG plots [message #85601] |
Tue, 20 August 2013 19:54  |
Xin Tao
Messages: 40 Registered: April 2011
|
Member |
|
|
Hi ,
Is there any way to change ticklen globablly in IDL 8? The default ones always look too long for me. Maybe I'm used to the default ticklen in the traditional graphics system.
Thanks,
Xin Tao
|
|
|
|
Re: ticklen in NG plots [message #85635 is a reply to message #85634] |
Thu, 22 August 2013 15:31   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mark Piper writes:
> We're looking at ways to globally change defaults in NG. One workaround is to use keyword inheritance:
>
> IDL> defaults = {color:'red', xticklen:0.02, yticklen:0.02, font_name:'Baskerville'}
> IDL> p = plot([0,1], _extra=defaults)
>
> Note that the default font must be Baskerville [1].
I have to admit, here is a tip I wouldn't have picked up from the on-
line documentation. ;-)
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.")
|
|
|
Re: ticklen in NG plots [message #85644 is a reply to message #85635] |
Fri, 23 August 2013 07:37  |
Mark Piper
Messages: 198 Registered: December 2009
|
Senior Member |
|
|
On Thursday, August 22, 2013 4:31:13 PM UTC-6, David Fanning wrote:
>
> I have to admit, here is a tip I wouldn't have picked up from the on-
> line documentation. ;-)
>
To be fair, I know of another website that has many tips not found in the docs.
mp
|
|
|