[Matplotlib-users] How to increase axis and tick linesize?
Dear matplotlib users, I have a problem with my plots, it is that the plot axes and the tick marks are too small, is there a way to increase the 'lineweight' and size of these basic features? I am not asking about axis label text size and that of the information inside the plot, but rather the basic skeleton of the plot. I suppose I can make thicker ticks by hand w/ the xvline and xhline modules, but I'd rather not do it this way. Also I often find that the xlabel is too close to the plot box (xaxis) is there a way to increase this distance besides making my own labels via text. Thanks, Matthew -- Download Intel#174; 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
Re: [Matplotlib-users] How to increase axis and tick linesize?
On Wed, Feb 24, 2010 at 5:45 PM, Matthew MacLeod macl...@eefus.colorado.edu wrote: Dear matplotlib users, I have a problem with my plots, it is that the plot axes and the tick marks are too small, is there a way to increase the 'lineweight' and size of these basic features? I am not asking about axis label text size and that of the information inside the plot, but rather the basic skeleton of the plot. I suppose I can make thicker ticks by hand w/ the xvline and xhline modules, but I'd rather not do it this way. Look into your matplotlibrc file, for the following lines: #axes.linewidth #xtick.major.size and three other adjustments. Not sure how to update these in code yet. Let me know when you figure out :) Also I often find that the xlabel is too close to the plot box (xaxis) is there a way to increase this distance besides making my own labels via text. I[3]: label = plt.xlabel (baskervilles) I[5]: label.set_position ? Type:instancemethod Base Class:type 'instancemethod' String Form:bound method Text.set_position of matplotlib.text.Text object at 0x98f5bac Namespace:Interactive File: /home/gsever/Desktop/python-repo/matplotlib/lib/matplotlib/text.py Definition:label.set_position(self, xy) Docstring: Set the (*x*, *y*) position of the text ACCEPTS: (x,y) Thanks, Matthew -- Download Intel#174; 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 -- Gökhan -- Download Intel#174; 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
Re: [Matplotlib-users] How to increase axis and tick linesize?
Not sure how to update these in code yet. Let me know when you figure out :) http://matplotlib.sourceforge.net/users/artists.html#axis-containers Also I often find that the xlabel is too close to the plot box (xaxis) is there a way to increase this distance besides making my own labels via text. I[3]: label = plt.xlabel (baskervilles) I[5]: label.set_position ? Type: instancemethod Base Class: type 'instancemethod' String Form: bound method Text.set_position of matplotlib.text.Text object at 0x98f5bac Namespace: Interactive File: /home/gsever/Desktop/python-repo/matplotlib/lib/matplotlib/text.py Definition: label.set_position(self, xy) Docstring: Set the (*x*, *y*) position of the text ACCEPTS: (x,y) Alternatively, ax=gca() ax.xaxis.labelpad=15 # pad in points Regards, -JJ -- Download Intel#174; 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