SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Tom J. <tj...@gm...> - 2007年11月27日 19:46:50
I'd like to make the separation distance between two subplots to be
much smaller. How can I achieve this?
From: John H. <jd...@gm...> - 2007年11月27日 19:48:26
On Nov 27, 2007 1:46 PM, Tom Johnson <tj...@gm...> wrote:
> I'd like to make the separation distance between two subplots to be
> much smaller. How can I achieve this?
Use the subplots_adjust paramters, eg
fig.subplots_adjust(hspace=0)
JDH
From: Tom J. <tj...@gm...> - 2007年11月27日 19:56:46
On Nov 27, 2007 11:48 AM, John Hunter <jd...@gm...> wrote:
> Use the subplots_adjust paramters, eg
>
> fig.subplots_adjust(hspace=0)
>
This wasn't working for me...
from pylab import *
f = gcf()
f.subplots_adjust(hspace=0)
f.add_subplot(121)
f.add_subplot(122)
show()
Adjusting the space after adding the subplots did not work either (using SVN).
From: Tom J. <tj...@gm...> - 2007年11月27日 19:58:13
Doh! Sorry, I adjusted the wrong space.
On Nov 27, 2007 11:56 AM, Tom Johnson <tj...@gm...> wrote:
> On Nov 27, 2007 11:48 AM, John Hunter <jd...@gm...> wrote:
> > Use the subplots_adjust paramters, eg
> >
> > fig.subplots_adjust(hspace=0)
> >
>
> This wasn't working for me...
>
> from pylab import *
> f = gcf()
> f.subplots_adjust(hspace=0)
> f.add_subplot(121)
> f.add_subplot(122)
> show()
>
> Adjusting the space after adding the subplots did not work either (using SVN).
>
From: John H. <jd...@gm...> - 2007年11月27日 20:00:10
On Nov 27, 2007 1:56 PM, Tom Johnson <tj...@gm...> wrote:
> > Use the subplots_adjust paramters, eg
> > fig.subplots_adjust(hspace=0)
> This wasn't working for me...
Oh, I was assuming you wanted to adjust the space between two subplots
stacked one over another. For side-by-side, use wspace
f.subplots_adjust(wspace=0)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /