I would also love to have this implemented. That is being able to not only
set the colors, but also the alpha values as an array.
--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/scatter-plot-individual-alpha-values-tp21106p39671.html
Sent from the matplotlib - users ma
On Wed, Aug 8, 2012 at 3:34 PM, Gustavo Goretkin wrote:
> I can use the scatter function to plot an array of points and give a
> corresponding array of colors to set those points. Is it possible to
> do the same thing with alpha values?
>
> Right now, I'm restoring to calling plot with an 'o' mar
On Wed, Aug 08, 2012 at 05:22:49PM -0400, Tony Yu wrote:
> On Wed, Aug 8, 2012 at 4:34 PM, Gustavo Goretkin > wrote:
>
> > I can use the scatter function to plot an array of points and give a
> > corresponding array of colors to set those points. Is it possible to
> > do the same thing with alpha
On Wed, Aug 8, 2012 at 4:34 PM, Gustavo Goretkin wrote:
> I can use the scatter function to plot an array of points and give a
> corresponding array of colors to set those points. Is it possible to
> do the same thing with alpha values?
>
> Right now, I'm restoring to calling plot with an 'o' mar
M
Subject: Re: [Matplotlib-users] scatter plot with constant x
On Tue, Jun 5, 2012 at 11:53 AM, Ulrich vor dem Esche <
ulrich.es...@googlemail.com> wrote:
Hey! :o)
This should be simple, but i cant manage: I need to plot many dots with
the same x, like
plt.plot([3,3,3,3],[60,80,120,180],
> From: Eric Firing [mailto:efir...@hawaii.edu]
> Sent: Wednesday, June 06, 2012 13:41
> To: matplotlib-users@lists.sourceforge.net
> Subject: Re: [Matplotlib-users] scatter plot with constant x
>
> On 06/06/2012 06:42 AM, Ethan Gutmann wrote:
> >> ...
&
On Jun 6, 2012, at 11:41 AM, Eric Firing wrote:
> Since we end up needing float64 anyway:
>
> In [3]: %timeit l=np.empty(1,dtype=np.float64); l.fill(3)
> 10 loops, best of 3: 14.1 us per loop
nice, fill and empty seem to be responsible for about half the speed up each,
good tools to kno
On 06/06/2012 06:42 AM, Ethan Gutmann wrote:
>> ...
>> No, but you can do this:
>>
>> plt.plot([3] * 4, [60, 80, 120, 180], ...)
>
> This started from a simple enough question, but it got me thinking about what
> the fastest way to do this is (in case you have HUGE arrays, or many loops
> over th
On 06/06/2012 12:54 PM, Ethan Gutmann wrote:
> On Jun 6, 2012, at 10:49 AM, Michael Droettboom wrote:
>> Interesting result. Note, however, that matplotlib will eventually turn
>> all data arrays into float64 at rendering time, so any speed advantage
>> to using integers will be lost by the subseq
On Jun 6, 2012, at 10:49 AM, Michael Droettboom wrote:
> Interesting result. Note, however, that matplotlib will eventually turn
> all data arrays into float64 at rendering time, so any speed advantage
> to using integers will be lost by the subsequent conversion, I suspect.
I don't think it d
On 06/06/2012 12:42 PM, Ethan Gutmann wrote:
>> ...
>> No, but you can do this:
>>
>> plt.plot([3] * 4, [60, 80, 120, 180], ...)
> Using int16, int32, float32 get progressively slower to the default float64
> case listed on line [5], changing the datatype in other methods doesn't
> result in near
> ...
> No, but you can do this:
>
> plt.plot([3] * 4, [60, 80, 120, 180], ...)
This started from a simple enough question, but it got me thinking about what
the fastest way to do this is (in case you have HUGE arrays, or many loops over
them). This may be old news to some of you, but I though
On Tue, Jun 5, 2012 at 11:53 AM, Ulrich vor dem Esche <
ulrich.es...@googlemail.com> wrote:
> Hey! :o)
> This should be simple, but i cant manage: I need to plot many dots with
> the same x, like
>
> plt.plot([3,3,3,3],[60,80,120,180],'+',markersize=8,mec='k')
>
> The array for x values is silly,
On Mon, Mar 26, 2012 at 8:26 AM, Matthieu Brucher <
matthieu.bruc...@gmail.com> wrote:
> Indeed, a little bit less simple, but the solution nonetheless.
>
> Thank you!
>
>
> 2012/3/26 Zachary Pincus
>
>> > I'd like to display a scatter plot where the size for each element is
>> fixed. Currently,
Indeed, a little bit less simple, but the solution nonetheless.
Thank you!
2012/3/26 Zachary Pincus
> > I'd like to display a scatter plot where the size for each element is
> fixed. Currently, when I modify the size of the figure, the size of a
> marker is fixed, and I would like it to be prop
> I'd like to display a scatter plot where the size for each element is fixed.
> Currently, when I modify the size of the figure, the size of a marker is
> fixed, and I would like it to be proportional to the window.
> I want this because the size of the marker indicates an extent, and I would
>
cool. it's done!! Thanks!!!
Chao
2011/10/15 Tony Yu
>
>
> On Sat, Oct 15, 2011 at 8:55 AM, Chao YUE wrote:
>
>> Dear all,
>>
>> how can I make a scatter plot without edgecolor?
>>
>> import matplotlib.pyplot as plt
>> In [110]: plt.scatter(np.arange(10),np.arange(10,20),edgecolor=None)
>> Out[
On Sat, Oct 15, 2011 at 8:55 AM, Chao YUE wrote:
> Dear all,
>
> how can I make a scatter plot without edgecolor?
>
> import matplotlib.pyplot as plt
> In [110]: plt.scatter(np.arange(10),np.arange(10,20),edgecolor=None)
> Out[110]:
>
> in this case I can use edgecolor='w' to solve it, but when
Hi Chao!
On Oct 15, 2011, at 2:55 PM, Chao YUE wrote:
> import matplotlib.pyplot as plt
> In [110]: plt.scatter(np.arange(10),np.arange(10,20),edgecolor=None)
> Out[110]:
>
> in this case I can use edgecolor='w' to solve it, but when points overlap,
> this does not work anymore.
> Any help will
Thanks Goyo and Jae-Joon Lee.
It worked!
it worked!
Goyo wrote:
>
> 2010/10/10 Alessio Civ :
>>
>>
>> Please, can someone help me? I've been digging the documentation, but I
>> can't find a way to do this.
>
> ¿Didn't you get my message on oct-5? I didn't send it to the list by
> mistake:
>
Hi,
thanks for reply.
My problem is that I need to scatter data of different periods but in the
same x.
For example, the quantity x sold in March is 1 at price y of 2, the quantity
sold in April is 2 at price y of 3. I want the 2 points to have different
colors in the same graph!
Now I'm doing
2010/10/10 Alessio Civ :
>
>
> Please, can someone help me? I've been digging the documentation, but I
> can't find a way to do this.
¿Didn't you get my message on oct-5? I didn't send it to the list by mistake:
--%<
Make
Please, can someone help me? I've been digging the documentation, but I
can't find a way to do this.
Alessio Civ wrote:
>
> Hi,
>
> I'm trying to make a scatter plot of 2 variables using a thirds as filter
> to have different colors.
>
> Let's say I have those data:
>
> x=1,2,3,4
> y=2,3,4,
On Tue, Oct 5, 2010 at 11:07 PM, Alessio Civ wrote:
>
> Hi,
>
> I'm trying to make a scatter plot of 2 variables using a thirds as filter to
> have different colors.
>
> Let's say I have those data:
>
> x=1,2,3,4
> y=2,3,4,5
> z=0,1,0,1
>
> Then I want the values of x and y corresponding to those
On Tuesday 19 May 2009 14:07:27 Bala subramanian wrote:
> Friends,
>
> Someone please suggest me how to make scatter plot with a matrix data such
> as the one attached. Is is possible to feed a matrix to scatter function
> directly and plot the value in each row of the matrix.
>
> Thanks,
> Bala
H
On Feb 10, 2008 9:43 AM, John Hunter <[EMAIL PROTECTED]> wrote:
> > I want to create a scatter plot onto a background image. Anybody could help
> > me?Thank you!
>
> The mri_demo.py example in the matplotlib/examples in the src
> distribution illustrates this.
Sorry -- wrong example. The example
2008/2/9 He Jibo <[EMAIL PROTECTED]>:
> Hi, Everyone,
>
> I want to create a scatter plot onto a background image. Anybody could help
> me?Thank you!
The mri_demo.py example in the matplotlib/examples in the src
distribution illustrates this.
--
Hi He
2008/2/10 He Jibo <[EMAIL PROTECTED]>:
> Hi, Arnar,
>
> Thank you for your great help!This is what I need! But this code has some
> warnings, could you please help me debug it? Thank you !
>
> the first error is :
> Traceback (most recent call last):
> File "D:/Program Files/python 2.4.3/
Hi Jibo,
I'm not sure of your reasons for wanting to do this, but you might find
the psychopy package of interest:
http://www.psychopy.org/
Gary R.
He Jibo wrote:
> Hi, Everyone,
>
> I want to create a scatter plot onto a background image. Anybody could
> help me?Thank you!
>
> The backgrou
> The background.PNG is shown full screen with a resolution of 1024*768. The
> data in the fixation_xy.txt is the coordinates of eye-movement data, first
> column for X axis, second column for Y axis. I wish to do a scatter plot
> with the data onto background.PNG. Please give me a helping hand how
30 matches
Mail list logo