you could go with something like this:

import matplotlib.pyplot as plt
import numpy as np

fig, ax = plt.subplots(1, 10, figsize=(10,3))
fig.subplots_adjust(wspace=0)

for i,axi in enumerate(ax):
    axi.axis((0,1,0,1))
    axi.xaxis.set_ticks([])
    axi.yaxis.set_ticks([])
    if i is 0:
        axi.xaxis.tick_bottom()
        axi.yaxis.tick_left()
        axi.spines['right'].set_visible(False)
        axi.spines['top'].set_visible(False)
        axi.spines['left'].set_bounds(0, 1)
        axi.spines['bottom'].set_bounds(0, 1)
        axi.yaxis.set_ticks(np.linspace(0,1,5))
        axi.yaxis.set_ticklabels(np.linspace(0,1,5))
        axi.xaxis.set_ticks(np.linspace(0,1,3))
        axi.xaxis.set_ticklabels(np.linspace(0,1,3))
    if i > 0:
        axi.set_frame_on(False)
        
    axi.plot(np.random.rand(10), np.random.rand(10))
        

On Nov 27, 2014, at 4:55 PM, Bala subramanian <bala.biophys...@gmail.com> wrote:

> Friends,
> 
> I want to make multiple graphs on a single axes. As an example, i am pasting 
> below an article where it has been shown.
> 
> http://www.ncbi.nlm.nih.gov/pubmed/23403925
> 
> My plot of interest is Figure7B, where multiple distribution are depicted in 
> single plot. I want to make a similar one. Kindly give me some insights on 
> how i can make it with mpl, if anyone have achieved making it with mpl.
> 
> Thanks in advance,
> Bala
> 
> 
> -- 
> C. Balasubramanian
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to