[Matplotlib-users] how to plot a sphere and two more curves, and the aspect ratio to be preserved

2014-04-07 Thread Emilia Petrisor
Dear all, I want to visualize the image through the stereographic projection (that maps the extended complex plane to the unit sphere), of a circle and a line from the plane. I imported: import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D fig = plt.figure

Re: [Matplotlib-users] colormap default

2014-04-07 Thread diedro
dear all, I get it. I have only to set: cm = matplotlib.cm.get_cmap() and then I have again the default colormap -- View this message in context: http://matplotlib.1069221.n5.nabble.com/colormap-default-tp43196p43197.html Sent from the matplotlib - users mailing list archive at Nabble.com.

[Matplotlib-users] colormap default

2014-04-07 Thread diedro
Dear all, I am trying to plot different subplot with different colormap colors. this is the first one, with colormap in red (YlOrRd): cm = matplotlib.cm.get_cmap('*YlOrRd*') sc=ax1.scatter(xp[::N],yp[::N], s=20, c=QA[::N], marker='o',edgecolor='none',alpha=0.8,