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 #69876] Tue, 02 March 2010 09:18 Go to previous message
Mark Shephard is currently offline  Mark Shephard
Messages: 13
Registered: July 1999
Junior Member
On Feb 25, 3:29 pm, mankoff <mank...@gmail.com> wrote:
> 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.

Hi,

Thanks for the prompt response. I did download your program and gave
it a try. I was doing some complicated plots so in the end I just
decided to use oplot and generate my own grey lines for each major and
minor tickmark on the axis.

Thanks again,
Mark
[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: Wed Oct 08 19:05:11 PDT 2025

Total time taken to generate the page: 0.01014 seconds