On Wed, Mar 14, 2012 at 2:38 PM, kususe <kus...@interfree.it> wrote:
>
> I got an error using the first subplot function because I have to specify
> 3
> parameters.
> If i do it, I get that "AxesSubplot' object is not iterable"
> I coded using 3 subplot functions, getting the same error.
>
> Thanks
> K.
>
>
Note that I wrote `subplots` with an "s", which is a different command than
`subplot`. (You're really having problems with "s"s today :)
BTW, would you mind interleaving or bottom-posting
replies<http://en.wikipedia.org/wiki/Posting_style#Placement_of_replies>.
It's a bit easier to follow the conversation that way.
-Tony
Yes, for sure I coded:
fig, axes = plt.subplot(3,1,1)
ax1, ax2, ax3 = axes
p1, = ax1.plot(self.data0,self.data1)
....
plt.subplot(3,1,2)
p2, = ax2.plot(self.data0,self.data2)
.......
plt.subplot(3,1,3)
p3, = ax3.plot(self.data0,self.data4)
........
for ax in axes:
ax.set_xticks([])
but I got the error which said you.
--
View this message in context:
http://old.nabble.com/How-to-remove-x-axis-in-a-subplotted-graph-tp33500598p33507959.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users