Re: [Matplotlib-users] 2 lines, 2 diff colors, when converged, gets 3rd color...

2010-04-12 Thread Michael Droettboom
There doesn't seem to be a screenshot attached. Maybe the mailing list ate it. Can you send it to me directly (off list)? Mike KrishnaPribadi wrote: Here my screen shot. Notice the red and green line merging then turning brown... -- Michael Droettboom Science Software Branch

Re: [Matplotlib-users] Basemap white space

2010-04-12 Thread Filipe Pires Alvarenga Fernandes
Thanks for point TKinter to me. However, I'm stuck again. I've tried two approaches, one is following what you suggested: Tkinter import Tkinter as tk root = tk.Tk() from PIL import Image, ImageTk image = ImageTk.PhotoImage(Image.open('map.png')) # load saved image #image =

Re: [Matplotlib-users] contourf creats white-like lines (or gaps) between each two color patches

2010-04-12 Thread lmkli
CS = contourf(Z) for c in CS.collections: c.set_antialiased(False) Eric, Thank you! I like this very much! So, the last thing is, is there any way to set this antialiased feature to False by default? efiring wrote: lmkli wrote: What version of mpl are you using? My mpl version is

Re: [Matplotlib-users] axvspan, multiple calls, how to change prop of 1 object instance

2010-04-12 Thread KrishnaPribadi
I figured it out on my own! Why I couldn't figure it out before... I don't know... Here is the code: myhighlights[1].set_facecolor('y') myhighlights[1].set_xy([[ 3.5 , 0. ],\ [ 3.5 , 1. ], [ 3.75, 1. ], [ 3.75, 0. ], [ 3.5 , 0. ]]) KrishnaPribadi wrote: Hi, I

Re: [Matplotlib-users] contourf creats white-like lines (or gaps) between each two color patches

2010-04-12 Thread Tsviki Hirsh
My simple way to solve the white-lines issue is simply to give the contourf command twice: contourf(x,y,z) contourf(x,y,z) The white lines are magically disappearing, also in png files. This works well also with alpha1 Tsviki Hirsh What version of mpl are you using? My mpl version is 0.99.1

Re: [Matplotlib-users] how to plot a Polygon / plt.draw() problem

2010-04-12 Thread Friedrich Romstedt
2010/4/11 Alan G Isaac alan.is...@gmail.com: On 4/11/2010 9:27 AM, Friedrich Romstedt wrote: I think you can use Tk via the Tkinter Python package.  On linux I heard it's looking a bit weird, but as a starting points it's easy enough. Weird how? Will that be fixed with the new release (ttk,

[Matplotlib-users] Solution of my previous topic: contourf creats white-like lines (or gaps)

2010-04-12 Thread lmkli
Firstly, I want to thank Marius (Marius 't Hart-3) and Eric (efiring) for the help on my question. Especially Eric, your advices about 'antialiased' gave me the hint to get the solution. In my previous topic

[Matplotlib-users] 'the path of the tip of rotated vectors' or 'paths on a sphere'

2010-04-12 Thread qubax
I need to plot the path the tip of a specific vector draws, when the vector is rotated around certain axis for some angels as a basic example: start vector is (0,0,1) rotation around axis (0,1,0) for an angle of (pi/2) rotation around axis (0,0,1) for an angle of (pi) so the path should show

Re: [Matplotlib-users] how to plot a Polygon / plt.draw() problem

2010-04-12 Thread tomislav_ma...@gmx.com
Thank you very much, you helped me a great deal. The video tutorials are great. I'm going through the stuff you sent and things seem to become clearer Tomislav - Original Message - From: John Hunter Sent: 04/11/10 04:19 PM To: tomislav_ma...@gmx.com Subject: Re: [Matplotlib-users]