[Matplotlib-users] Creating Colored Axis Labels using LaTeX in Interactive Mode

2016-07-11 Thread Joseph Fox-Rabinovitz
I originally posted to Stack Overflow at http://stackoverflow.com/q/38274681/2988730. I am trying to follow the answer at http://stackoverflow.com/a/38008501/2988730 to an earlier question of mine to create colored and styled legend-like entries. I have the following code: import matplotlib a

[Matplotlib-users] How to set marker for a specific point in a scatter plot with colormap?

2016-07-11 Thread Chao YUE
Dear all matplotlib users, I have a user case that, let's say I have three series data: x,y,z. I would like to make a scatter plot using (x,y) as coordinates and z as the color of scatter points, using cmap keyword of plt.scatter. However, I would like to highlight some specific point by using a d

Re: [Matplotlib-users] How to set marker for a specific point in a scatter plot with colormap?

2016-07-11 Thread Chao YUE
OK, after posting I realize I can pass a vector to the 's' keyword in plt.scatter to set the marker size, like s=[20,20,20,20,20,50,20,20,20,20]. How about using a different marker type? Thanks! Regards, Chao On Mon, Jul 11, 2016 at 10:27 PM, Chao YUE wrote: > Dear all matplotlib users, > > I h

Re: [Matplotlib-users] How to set marker for a specific point in a scatter plot with colormap?

2016-07-11 Thread Thomas Caswell
scatter does not (currently) support multiple markers in a single call. You will have to do the group-by operation and call scatter is a loop. If you define your cmap and norm outside of scatter, you can pass the same instances into both calls to scatter to have mpl take care of that level of mapp