Gabriele,

I'm confused. I only see 1 series in each subplot. Could you trim your
example down into some code that we can copy, paste, and run? A more
thorough description of the problem might help too.
-p


On Mon, Mar 10, 2014 at 9:39 AM, Gabriele Brambilla <
gb.gabrielebrambi...@gmail.com> wrote:

> Hi I'm trying to do a particular plot similar to this one:
> http://matplotlib.org/examples/pylab_examples/line_styles.html
>
> but my code pastes different datas in the same plot. I want only one array
> per each plot. I attach the wrong result
>
> fdatas = plt.figure()
> for filename in filenames:
>
> [various things]
>
>             for obsangl in angles:
>                               [various things]
>
>                               #fitspectrum4.fitSpec is one my personal
> fitting routine
>
>                               pa0, era0, pa1, era1, pa2, era2, pa3, era3 =
> fitspectrum4.fitSpec(eels, averspe, (1.0)*(10**(-8)), 0.66, 10**6, 1)
>                               GAMMAs.append(pa1)
>                               EcutS.append(pa2)
>                               Bees.append(pa3)
>                               GeR.append(era1)
>                               EeR.append(era2)
>                               beR.append(era3)
>
>               ialph += 1
>               ialpg = ialph
>               axum1 = fdatas.add_subplot(numalp, 3, ialpg)
>               da1 = axum1.errorbar(angles, GAMMAs, yerr=GeR, marker = ".")
>
>               ialpg = ialph + 1
>               axum2 = fdatas.add_subplot(numalp, 3, ialpg)
>               da2 = axum2.errorbar(angles, EcutS, yerr=EeR, marker = ".")
>
>               ialpg = ialph + 2
>               axum3 = fdatas.add_subplot(numalp, 3, ialpg)
>               da3 = axum3.errorbar(angles, Bees, yerr=beR, marker = ".")
>
>
>
> thanks
>
> Gabriele
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to