[matplotlib-devel] figure output a la gnuplot or Inkscape: graphic and latex text files separately

2014-01-18 Thread Mauricio Calvao
Hi I would like to know whether it is possible to save a simple (or complex, for that matter) figure in 2 files, such that one of them contains, for instance, the lines or points or surfaces ("graphics") typically in pdf format and the other contains the whole text of the figure (labels, numbers,

[matplotlib-devel] animation of a fill_between region

2014-02-01 Thread Mauricio Calvao
Hi there, I have the following simple code to plot a (static) fill_between region in a given plot. import numpy as np import matplotlib. pyplot as plt plt.figure() ax=plt.axes() ax.set_xlim([0,1]) x = np.linspace(6000.,7000.) y = np.ones(np.shape(x)) plt.fill_between(x,y) I would like

Re: [matplotlib-devel] animation of a fill_between region

2014-02-02 Thread Mauricio Calvao
path = collection.get_paths()[0] > path.vertices[:, 1] *= 0.9 > > animation.FuncAnimation(fig, animate, > frames=25, interval=30) > > Take a look at path.vertices to see how they're laid out. > Hope that helps, >Jake > > > On Sat, Feb 1, 2014