On Monday November 29 2010 22:01:29 Matthew W. Priddy wrote:
> Matplotlib developers,
> 
> I really like using matplotlib to create quality plots, and it seems to
> have an option for just about everything.  However, one thing that is not
> easy to change is the location of minor tick marks.  To set major tick
> mark locations, one can simply use the "xticks" command.  And now we can
> atleast turn on the minor tick marks with the "minorticks_on()" command.
> 
> But, is there any way to implement something similar to "xticks" for minor
> tick marks?  Even better would be a feature that allowed the user to
> simply specify the number of minor tick marks that are evenly spaced
> between the major tick marks?

Hi Matthew,

one thing, which should work is the following. If you want to set the 
positions of minor ticks of an axes 'ax', you can use

ax.set_xticks([0.02, 0.04, 0.06, 0.08, 0.1], minor=True)

but I'm not an expert and I'm not sure if something like you mentioned is 
already supported (namely providing the number of minor tick marks).

Kind regards,
Matthias

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to