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.
Hi
I've added some lines with
ax.add_line(yellowlines)
ax.add_line(redlines)
how can I remove
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)',...
'FontSize',14,'HorizontalAlignment'
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 mo
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
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)?
> plot(data,zeros_like(data)
> -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')
-
Hi all,
I needed to make bean plots (see
http://www.jstatsoft.org/v28/c01/paper ) so I made a function to plot
them by tuning the violin plot code from here:
http://pyinsci.blogspot.com/2009/09/violin-plot-with-matplotlib.html
Please see the attached file if interested.
Is there a repository whe
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
an