From: Benjamin R. <ben...@ou...> - 2011-05-30 18:38:44
|
On Mon, May 30, 2011 at 1:12 PM, Eric Firing <ef...@ha...> wrote: > On 05/30/2011 05:21 AM, Benjamin Root wrote: > > On Monday, May 30, 2011, Mondsuechtiger<el_...@gm...> wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> > >> Hello, > >> > >> I would like to stack subplots in a figure with a couple of basic > >> x,y-line plots with the subplot frames removed. > >> But possible overlap of subplots is limited, because the drawn data > >> lines are clipped on the border, if you'd lets say manually reset the > >> ylims and decrease it below the highest data y-values. > >> I know it is possible with any kind of text or data annotation, but do > >> not find a way to let the data lines cross the frame border. > > You can cross the Axes frame border by turning off clipping: > > ll = plot([-1, 1])[0] > axis([0.1, 0.95, -1, 1]) > ll.set_clip_on(False) > draw() > > Eric > > > Ah, I see. I have to turn the clipping attribute off for the object(s) being plotted, not for the axes object. I learned something new today... Ben Root |