Re: [Matplotlib-users] plotting without certain axes in matplotlib

2009-03-14 Thread Eric Firing
per freem wrote: > hi all, > > i'm trying to generate a very simple plot, where only the left y axis > and the bottom x axis are present. i.e. there is no top x axis or right > y axis... this is the default for many plotting packages. in matlab, one > can do this as follows: > > >> x = rand(1

[Matplotlib-users] plotting without certain axes in matplotlib

2009-03-13 Thread per freem
hi all, i'm trying to generate a very simple plot, where only the left y axis and the bottom x axis are present. i.e. there is no top x axis or right y axis... this is the default for many plotting packages. in matlab, one can do this as follows: >> x = rand(1,100); >> hist(x) >> set(gca, 'Box',