[Matplotlib-users] Scatter animations with colormaps

2013-07-27 Thread Magician
Hi all, I'm trying to animate scatter plots on Matplotlib 1.2.1. My code is as below: > import numpy as np > import matplotlib as mpl > import matplotlib.pyplot as plt > import matplotlib.animation as anm > > x = np.array([np.cos(i) for i in np.arange(0.0, 360.0, 9.0) / 180.0 * np.pi]) > y = np.

Re: [Matplotlib-users] how to make mat.figure.Figure.add_axes generated axes adjustable with the interactive tool?

2013-07-27 Thread ChaoYue
Hi, thanks. the attached is what I achieved so far. Looks quite nice. each subplot visible now actually contains two mat.axes.Axes object (with bottom and top spines invisible) which is created by using the fig.add_axes, before the place occupied by the two axes now is actually only one single su