[Matplotlib-users] How to remove vertical lines when plotting rotating phase

2012-04-04 Thread Nikolaus Rath
Hello, I'm plotting a rotating phase: # ipython --pylab x1 = linspace(0, 2*pi, 30) x = concatenate((x1,x1,x1,x1)) plot(x) The resulting plot has ugly vertical lines whenever x wraps from 2*pi back to zero. Does someone have a nice, general way to get to get rid of such lines? (the actual data

Re: [Matplotlib-users] How to remove vertical lines when plotting rotating phase

2012-04-04 Thread Benjamin Root
On Wednesday, April 4, 2012, Nikolaus Rath wrote: Hello, I'm plotting a rotating phase: # ipython --pylab x1 = linspace(0, 2*pi, 30) x = concatenate((x1,x1,x1,x1)) plot(x) The resulting plot has ugly vertical lines whenever x wraps from 2*pi back to zero. Does someone have a nice,