[Matplotlib-users] zap symbols

2009-10-21 Thread Christian Meesters
Hi, Does anyone provide a script / patch to create zap symbols (e.g. like http://home.gna.org/pychart/doc/module-coord.html#module-coord ) to break an axis? TIA Christian -- Come build with us! The BlackBerry(R) Develop

[Matplotlib-users] Re : Re: Little issue with blitting

2009-10-21 Thread Auré Gourrier
Hi Laurent, I think I might have found a way to solve your problem: instead of creating your axes using pylab.suplot, you should create the axes using the class way. I modified your code below and it works fine without loosing speed in the frame rate. Only thing is, I have no clue as to what is

[Matplotlib-users] Unexpected beaviour when plotting narrow "peaks"

2009-10-21 Thread Henrik Wallin
Hello all, I'm sorry if this has been treated before, but I haven't found anything when searching the archives or the net. Basically, the problem surfaces when plotting FFT spectras using many data points. The amplitudes of the peaks in the spectra then seem to depend on the size of the plot wind

Re: [Matplotlib-users] Unexpected beaviour when plotting narrow "peaks"

2009-10-21 Thread Michael Droettboom
It looks like the path simplification code is failing on this. As a workaround, you can turn it off: rcParams['path.simplify'] = False or reduce the threshold below which vertices are removed: rcParams['path.simplify_threshold'] = 0.0001 In the meantime, I'll look further into why this is

Re: [Matplotlib-users] Unexpected beaviour when plotting narrow "peaks"

2009-10-21 Thread Michael Droettboom
I have fixed this bug that was causing peaks to be truncated in SVN r7895 and r7896. It should make it into the next bugfix release. Mike Michael Droettboom wrote: > It looks like the path simplification code is failing on this. As a > workaround, you can turn it off: > > rcParams['path.sim

[Matplotlib-users] Colorbar with labels on top

2009-10-21 Thread Thomas Robitaille
Hi, I'm trying to plot a horizontal colorbar with labels on top. I can use axcbar = fig.add_axes([0.2, 0.85, 0.6, 0.03]) axcbar.xaxis.set_ticks_position('top') cbar = fig.colorbar(s, cax=axcbar, orientation='horizontal') but then I lose the ticks on the bottom of the colorbar. However, setting

Re: [Matplotlib-users] Colorbar with labels on top

2009-10-21 Thread Jae-Joon Lee
The api related to ticks and ticklabels is a bit confusing, at least for me. So, often, it seems best to directly change the tick properties. for t in axcbar.xaxis.get_major_ticks(): t.tick1On = True t.tick2On = True t.label1On = False t.label2On = True -JJ On Wed, Oct 21, 2009

[Matplotlib-users] fill_between, legends, and "label" parameter

2009-10-21 Thread Mike Anderson
Hi, I have a piece of code that creates a plot without warning when using just fill(), but gives a warning when using fill_between() because that function doesn't seem to actually do register values passed to it by the "label" parameter. The warning happens when I try to make a legend after