[Matplotlib-users] multiple plots on single axis

2014-11-27 Thread Bala subramanian
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.

Re: [Matplotlib-users] multiple plots on single axis

2014-11-27 Thread Shahar Shani-Kadmiel
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:

Re: [Matplotlib-users] multiple plots on single axis

2014-11-27 Thread Paul Hobson
Check out the third example in the gallery: Gallery Link: http://matplotlib.org/gallery.html Direct Link: http://matplotlib.org/examples/lines_bars_and_markers/fill_demo_features.html On Thu, Nov 27, 2014 at 6:55 AM, Bala subramanian bala.biophys...@gmail.com wrote: Friends, I want to make

[Matplotlib-users] passing multiple path arguments to make_compound_path

2014-11-27 Thread Evan Mason
Hi, I have several path objects that I want to join together with make_compound_path. For example, with p1 and p2: In [136]: p1 Out[136]: Path(array([[-29.85721973, -30.], [-29.84752676, -29.77715877], [-29.88734508, -29.55431755], [-29.97470553, -29.33147632],

Re: [Matplotlib-users] passing multiple path arguments to make_compound_path

2014-11-27 Thread Francesco Montesano
Hi, put all them into a list ps = [p1, p2, ..., pn] and then unpack them path.Path.make_compound_path(*ps) Cheers, Fra ps: this is standard python unpacking 2014-11-27 18:12 GMT+01:00 Evan Mason evanma...@gmail.com: Hi, I have several path objects that I want to join together with

Re: [Matplotlib-users] multiple plots on single axis

2014-11-27 Thread Eric Firing
On 2014/11/27, 4:55 AM, Bala subramanian 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