Re: [Matplotlib-users] order of drawing a plot

2006-07-11 Thread humufr
you can use the zorder option: plot(x_line,y_line,zorder=10) scatter(x_point,y_point,zorder=12) N. Le mardi 11 juillet 2006 14:48, aonghus a écrit : > Hi, > > I would like to draw a line, and then draw some points > on top of the line, so I try something like > > plot(x_line, y_line, ...) > s

[Matplotlib-users] order of drawing a plot

2006-07-11 Thread aonghus
Hi, I would like to draw a line, and then draw some points on top of the line, so I try something like plot(x_line, y_line, ...) scatter(x_point, y_point) but in the resulting plot it seems the points are drawn first and the lines drawn over them (so they are obscured). How do I specify the o