multiplot in a for loop

No, if you look better near the zero there are some COLOURED lines: you have this impression because the values in EcutS are enormous respect the other one in GAMMAs and Bees. When you plot them all together the other ones disappear… I don’t want to plot them all together.

Excuse me but it’s very difficult for me to give you a self running code: it’s an enormous code with a lot of things that recall each others…




2014-03-10 12:54 GMT-04:00 Paul Hobson <pmhobson@…287…>:


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.


On Mon, Mar 10, 2014 at 9:39 AM, Gabriele Brambilla <gb.gabrielebrambilla@…287…> wrote:

Hi I’m trying to do a particular plot similar to this one:

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)







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 = “.”)



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!

Matplotlib-users mailing list