The following might be useful for somebody who want to get larger
ticks.
I discovered, that this works for sage graphs, too - when adapting
the
defaults for a histogram (which requires to call matplotlib directly).

Put the following at the start of the Notebook:

thickN = 3      #line thickness
fontN = 16      #default fontsize
import matplotlib
from pylab import figure, show
matplotlib.rcParams.update({'lines.linewidth':thickN })
matplotlib.rcParams.update({'axes.linewidth':thickN })
matplotlib.rcParams.update({'axes.labelsize':fontN})
matplotlib.rcParams.update({'xtick.major.size':6})      #length of
ticks
matplotlib.rcParams.update({'lines.markeredgewidth':2}) #width of
ticks
matplotlib.rcParams.update({'lines.markersize':6})      #size of ticks
matplotlib.rcParams.update({'patch.linewidth':thickN }) #linewidth of
histogram
matplotlib.rcParams.update({'font.size': fontN})        #fontsize of
histogram

Put the rest of your code, here.

It seems that most of the defaults are overwritten by Sage plots.
However Sage does not cover ticks yet, and it seems that the defaults
from matplotlib are used for the ticks. (That is my interpretation)

Obviously, some of the parameters above are not required for the
ticks, but I
post this here anyway, since it could be useful for somebody else.

Is there a similar method to change the defaults for Sage plot?
This would make my code much clearer.

Thanks
Goebbe

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to