[Matplotlib-users] plotting single column markers

2011-05-04 Thread Adrian HILL
I hope someone on this list can help me here. I am a complete matplotlib and python novice, so please forgive me if it is a rather simple question. I am trying to plot markers in matplotlib. I have values at x at which they should appear, but that is it. The y value of them should just be

Re: [Matplotlib-users] plotting single column markers

2011-05-04 Thread Buchholz, Greg
-Original Message- From: Adrian HILL [mailto:adrian.h...@esrf.fr] What is the best way of now plotting this (as single vertical marker lines)? plot(data,zeros_like(data),marker='|',markersize=20,linestyle='None')

Re: [Matplotlib-users] plotting single column markers

2011-05-04 Thread Adrian Hill
Thanks Greg, that is exactly what I wanted. Cheers Adrian On 04/05/2011 20:17, Buchholz, Greg wrote: -Original Message- From: Adrian HILL [mailto:adrian.h...@esrf.fr] What is the best way of now plotting this (as single vertical marker lines)?

[Matplotlib-users] select active figure with embedded canvas

2011-05-04 Thread Michael Schmidt
Hi Everyone, I'm embedding two different figures on two different canvases (each with subplots) into a Tk application, using the TkAgg backend.  I'd like to add some matplotlib widgets to one of the figures, and I need to specify which figure to add these to.  Currently, matplotlib is putting the

[Matplotlib-users] removing lines from plot

2011-05-04 Thread Mathew Yeates
Hi I've added some lines with ax.add_line(yellowlines) ax.add_line(redlines) how can I remove the lines without completely redrawing everything? -Mathew -- WhatsUp Gold - Download Free Network Management Software The

[Matplotlib-users] Asymmetrical arrangements of subplots

2011-05-04 Thread Sebastian Krieger
Dear all, I have a small question about subplot. I want to avoid creating plot axes manually using pylab.axes, to create an asymmetrical arrangement of subplots like the following code in Matlab: figure subplot(2,2,1:2) text(.5,.5,'subplot(2,2,1:2)',...

Re: [Matplotlib-users] removing lines from plot

2011-05-04 Thread butterw
redlines.set_visible(False) it is also possible to delete the line from ax.lines. Ex: del ax.lines[-1] deletes the last line. you need to perform a redraw for the change to be visible on the plot. quote author=Mathew Yeates-4 Hi I've added some lines with ax.add_line(yellowlines)