[Matplotlib-users] Plotting the legend above the gridlines

2007-01-18 Thread Derek Hohls
The command: ax = lab.subplot(111, axisbelow='True') ensures that the gridlines appear below the bars on a plot; how can the same be done for the legend (ie the grid below the legend and not running through it)? Thanks Derek -- This message is subject to the CSIR's copyright, terms and

[Matplotlib-users] Changing the font for the legend

2007-01-18 Thread Derek Hohls
I would like to know how to change the font for the legend. The usual method of: yticklabels = getp(gca(), 'yticklabels') setp(yticklabels, color='black', fontsize=6) Does not seem to work for legend. And when I try: legend( ... prop=FontProperties('smaller') ) as per the webpage,

Re: [Matplotlib-users] Changing the font for the legend

2007-01-18 Thread John Hunter
Derek == Derek Hohls [EMAIL PROTECTED] writes: Derek legend( ... prop=FontProperties('smaller') ) Derek as per the webpage, I get a warning message and the font Derek size is unchanged. Derek What is the best method for changing font properties Derek (e.g. point size,

Re: [Matplotlib-users] Plotting the legend above the gridlines

2007-01-18 Thread John Hunter
Derek == Derek Hohls [EMAIL PROTECTED] writes: Derek The command: ax = lab.subplot(111, axisbelow='True') Derek ensures that the gridlines appear below the bars on a plot; Derek how can the same be done for the legend (ie the grid below Derek the legend and not running through

[Matplotlib-users] How to turn off autoscaling in Axes3D

2007-01-18 Thread Matthew Koichi Grimes
Autoscaling is usually cool, but for my particular application I'd like to turn it off, so that my successive surface plots are all shown in the same scale. How can I turn off autoscaling in Axes3D? My current workaround is to manually set the axis limits just before each draw(), but this is