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

Home » Public Forums » archive » ticklen in NG plots
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
ticklen in NG plots [message #85601] Tue, 20 August 2013 19:54 Go to next message
Xin Tao is currently offline  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 #85634 is a reply to message #85601] Thu, 22 August 2013 14:06 Go to previous messageGo to next message
Mark Piper is currently offline  Mark Piper
Messages: 198
Registered: December 2009
Senior Member
On Tuesday, August 20, 2013 8:54:17 PM UTC-6, Xin Tao wrote:
>
> 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.
>

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].

mp

[1] http://opinionator.blogs.nytimes.com/2012/08/08/hear-all-ye- people-hearken-o-earth/?ref=opinion
Re: ticklen in NG plots [message #85635 is a reply to message #85634] Thu, 22 August 2013 15:31 Go to previous messageGo to next message
David Fanning is currently offline  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 Go to previous message
Mark Piper is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL Grib Routines
Next Topic: Issue using map_set and !p.multi in combination with polyfill to colour window backgrounds

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

Current Time: Wed Oct 08 15:07:00 PDT 2025

Total time taken to generate the page: 0.00658 seconds