Am 21.08.2007 um 10:30 schrieb Eric Firing: > Torsten Hahn wrote: >> Hello, >> I am looking for an way to set the width of the tick lines in a >> plot. I have not found any rc parameter for this. > > Good point; it does seem to be a gap in the configurability.
Would be nice to have sopmething added in a future release. >> Doing: >> plot(...) >> c=gca() >> tl=c.get_ticklines() >> gives a list of tickline objects. Every tickline object has a >> method tl[0].set_linewidth(). Calling this method with different >> float parameters seems to have no effect. > > Use tl[0].set_markeredgewidth(); ticks are implemented as markers > now to take advantage of backend optimization of marker rendering. > No, this is not obvious! Ok that works but i run into another problem. If you use log or loglog plots e.g. ax = py.subplot(111) ax.loglog(data) xtl = ax.get_xticklines() ytl = ax.get_yticklines() xtl and ytl are now lists with 2 entrys, one for every axis (for xtl, top and bottom x-axis). top_xtl = xtl[1] The problem is, that there only the major ticklines are returned by ax.get_xticklines(). How do i access (and modify) the minor ticklines? Torsten. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users