Re: [Matplotlib-users] color in plot3d

2010-06-17 Thread Pablo Angulo
surface command *From:* Pablo Angulo [mailto:pablo.ang...@uam.es] *Sent:* June-16-10 9:07 AM *To:* Mike Alger *Cc:* matplotlib-users@lists.sourceforge.net *Subject:* Re: [Matplotlib-users] color in plot3d El 15/06/10 01:22, Mike Alger escribió: The way that color keyword

Re: [Matplotlib-users] color in plot3d

2010-06-16 Thread Pablo Angulo
El 15/06/10 01:22, Mike Alger escribió: The way that color keyword is set up, it is dedsigned to take a color word or rgba tuple , (Reinier will know this better than me), however if you want to just assign colors based on a colour map you can take you color array and reshape the same way

[Matplotlib-users] color in plot3d

2010-06-11 Thread Pablo Angulo
specifies the color (it specifies a real number that is mapped into a color by the color map *cmap*). But is there a standard way? Regard Pablo Angulo from matplotlib.colors import Normalize, colorConverter def plot_surface(self, X, Y, Z, *args, **kwargs): ''' Create a surface plot