On Thu, Mar 8, 2012 at 10:18 AM, federico vaggi <vaggi.feder...@gmail.com>wrote:
> Hi,
>
> I have a very simple request - I am drawing a line with n points, using a
> particle marker - something like:
>
> x = np.linspace(1,10,11) ** 2
> y = np.linspace(1,10,11)
> plot(x,y,'ro')
>
> Is there any way to change the 7th dot (7, 49) to be a blue star instead
> of a red circle?
>
> I was considering using the scatter function to scatter points 1:6 and
> 8:10 separately with 'ro' and then scatter 7 with the right properties...
> is that the easiest way?
> Thanks a lot,
>
> Federico
>
>
Pretty much. Although, you could possibly just do the first plot normally
and then have the scatter function simply plot the red star over the blue
circle (maybe make the star size bigger to fully cover the blue circle?).
Ben Root
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users