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

Home » Public Forums » archive » Re: Grids on Minor Ticks.
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: Grids on Minor Ticks. [message #69898 is a reply to message #69876] Thu, 25 February 2010 12:29 Go to previous message
mankoff is currently offline  mankoff
Messages: 131
Registered: March 2004
Senior Member
On Feb 25, 11:25 am, Mark Shephard <mark.w.sheph...@gmail.com> wrote:
> Hi,
>
> Does anyone know how to put a grid on minor tickmarks?  If you set the
> ticklen=1 it only makes a grid on the major ticks.
>
> Back in 2000 Dave Fanning posted this work around.
> data = Findgen(101)
> Plot, data, YStyle=4, /NoData, XTickFormat='(A1)', $
>       XTicklen=1, XTicks=25, XMinor=1, XGridStyle=2
> Plot, data, /NoErase, XTicks=5, XMinor=1, XTicklen=1
>
> However, since my plot axis will be very detailed and I am not sure
> how many tickmarks there will be on a given plot, I was wondering if
> anyone has come up with a solution.
>
> Thanks,
> Mark

I have what I think is a general solution to make the major tickmarks
light gray and full length. It might be a starting point to make
something similar for the minor tickmarks?

http://code.google.com/p/kdm-idl/source/browse/trunk/plotg.p ro

-k.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: spawn,cmd
Next Topic: contour - close=0 and path_xy

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

Current Time: Tue Dec 02 13:07:23 PST 2025

Total time taken to generate the page: 0.48598 seconds