Re: [Matplotlib-users] how to increase tick thickness

2010-03-01 Thread Gökhan Sever
On Mon, Mar 1, 2010 at 2:27 PM, Matthew MacLeod
wrote:

> Dear matplolib users,
>
>
> I am wondering if anyone knows how to increase the tick thickness, that is
> the tick linewidth? Mine are too thin.
>
> Thanks Goekhan and JJ for the help previously on how to increase the tick
> size, to fix the
>
> xtick.major.size
>
> in the matplotlib rc. That did make my ticks longer, but I still don't
> know how to make them 'fatter'.
>
>
> Thanks,
> Matthew
>
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

Hi Matthew,

JJ's suggestion should work to make the ticks bolder:

http://matplotlib.sourceforge.net/users/artists.html#axis-containers (See
the lines at the very bottom)

In your code you should

import matplotlib.pyplot as plt

plt.plot(range(10)

ax = plt.gca() #for each axis or whichever axis you want you should

for line in ax.xaxis.get_ticklines():
  line.set_markeredgewidth(3)

This makes the x-ticks substantially visible.


-- 
Gökhan
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] how to increase tick thickness

2010-03-01 Thread Matthew MacLeod
Dear matplolib users,


I am wondering if anyone knows how to increase the tick thickness, that is 
the tick linewidth? Mine are too thin.

Thanks Goekhan and JJ for the help previously on how to increase the tick 
size, to fix the

xtick.major.size

in the matplotlib rc. That did make my ticks longer, but I still don't 
know how to make them 'fatter'.


Thanks,
Matthew

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users