Worked out. 
Thanks. 

Paul Hobson-2 wrote:
> 
> Sorry...That first line should be:
> fig, axes = plt.subplots(ncols=3)  # note: subplotS not subplot
> 
> On Mon, Mar 19, 2012 at 5:45 PM, Paul Hobson <pmhob...@gmail.com> wrote:
>> Try it like this:
>>
>>               fig, axes = plt.subplots(3,1,1)
>>               ax1, ax2, ax3 = axes
>>               p1, = ax1.plot(self.data0,self.data1)
>>               p2, = ax2.plot(self.data0,self.data2)
>>               p3, = ax3.plot(self.data0,self.data4)
>>               for ax in axes:
>>                       ax.set_xticks([])
>>
>> -paul
> 
> ------------------------------------------------------------------------------
> 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
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-to-remove-x-axis-in-a-subplotted-graph-tp33500598p33537582.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

Reply via email to