|
From: Damon M. <dam...@gm...> - 2012-08-25 15:06:36
|
On Sat, Aug 25, 2012 at 07:59:52AM -0700, Michael Rawlins wrote:
> ________________________________
> From: Damon McDougall <dam...@gm...>
> To: Michael Rawlins <raw...@ya...>
> Cc: "mat...@li..." <mat...@li...>
> Sent: Saturday, August 25, 2012 4:21 AM
> Subject: Re: [Matplotlib-users] plotting a colored symbol with plot command
>
> On Fri, Aug 24, 2012 at 02:39:12PM -0700, Michael Rawlins wrote:
> >
> > From: Damon McDougall <dam...@gm...>
> > To: Michael Rawlins <raw...@ya...>
> > Cc: "mat...@li..." <mat...@li...>
> > Sent: Friday, August 24, 2012 4:22 PM
> > Subject: Re: [Matplotlib-users] plotting a colored symbol with plot command
> >
> > On Fri, Aug 24, 2012 at 09:20:47PM +0100, Damon McDougall wrote:
>
> >
> > If I use plt.plot(x, y, color='g', marker='.', markersize=3.0)
> >
> > the dots are black.
>
> That should not happen... Have you tried some of the other colours? 'r',
> 'b', 'm', 'y', 'c'? Are they all black? What are you saving the file as? What
> is the output of:
>
> plt.get_backend()
>
>
> Yes I've tried several. All produce black dots. The output of that command is 'agg'. I use:
>
> plt.savefig('map.eps')
>
> to produce eps images.
>
Bizarre. I am still seeing green dots.
Could you provide a very minimal example for which you see black dots?
It'd be nice to understand what's going on.
Also, what's the output of
import matplotlib
print matplotlib.__version__
Thanks.
--
Damon McDougall
http://www.damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom
|