|
From: Martin S. <sp...@da...> - 2011-04-11 13:31:43
|
Hey, Thank you! You solved my problem! Cheers Martin 2011/4/11 Sebastian Berg <seb...@si...>: > Hey, > > not sure about which values are good to use (there is an example in the > gallery about it), but do the first plot command for example with > zorder=1 keyword argument, and the errorbar with zorder=2, and voila you > got what you want. > > Regards, > > Sebastian > > > On Mon, 2011-04-11 at 14:49 +0200, Martin Sparre wrote: >> Dear Matplotlib-users, >> >> I am trying to plot some data as well as an errorbar. The problem is >> that the errorbar stays behind the data even though plt.errorbar(...) >> comes after plt.plot(....) in my code. Here is a simple code that >> produces the problem: >> >> http://dark-cosmology.dk/~sparre/example.py >> >> And here is a png-file showing the errorbar behind the data. >> http://dark-cosmology.dk/~sparre/image.png >> >> Can anyone help me with getting the errorbar in front of the blue >> curve? - it would make me very happy! >> >> I am using Matplotlib version 1.0.1 on Ubuntu 10.10 (Python 2.6.6). >> >> Best regards, >> Martin Sp. >> >> ------------------------------------------------------------------------------ >> Xperia(TM) PLAY >> It's a major breakthrough. An authentic gaming >> smartphone on the nation's most reliable network. >> And it wants your games. >> http://p.sf.net/sfu/verizon-sfdev >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |