matplotlib on fc3 crashes

Thanks, that helped! Switching to QtAgg did the trick.

    > However, I have still some issues: 1) the text placement of
    > the titles does not really work:
    > http://wr.objectis.net/Members/Papst/Matplotlib_Problems

    > 2) The confidence intervals are only vertical lines. I
    > would like to have some small horizontal "stoppers" at the
    > upper and lower point of those error bars. Is that
    > possible with matplotlib?

Could you post the script -- hard to debug in a vacuum.

JDH

Hi,

here is the script:

#!/usr/bin/python

from scipy import *
from pylab import *

MAX_TIME = 7000

fn_social="all-avg.dat"

def readStats(fn):
  q = [d for d in io.read_array(fn) if d[0]<=MAX_TIME]

  print q
  t=[s[0] for s in q]

  age=[s[1] for s in q]
  age_conf=[s[2] for s in q]

  wp=[s[3] for s in q]
  wp_conf=[s[4] for s in q]

  return t, age, age_conf, wp, wp_conf

hold(True)

t, age, age_conf, wp, wp_conf = readStats(fn_social)

xlabel('time [s]')
ylabel('average lifetime [s]')

errorbar(t,wp,yerr=wp_conf, color="blue",ecolor="black", mfc='red',
mec='green', ms=200, mew=4)

show()

···

Am Freitag, 14. Oktober 2005 16:05 schrieb John Hunter:

    > Thanks, that helped! Switching to QtAgg did the trick.
    > However, I have still some issues: 1) the text placement of
    > the titles does not really work:
    > http://wr.objectis.net/Members/Papst/Matplotlib_Problems

    > 2) The confidence intervals are only vertical lines. I
    > would like to have some small horizontal "stoppers" at the
    > upper and lower point of those error bars. Is that
    > possible with matplotlib?

Could you post the script -- hard to debug in a vacuum.

JDH

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
Dipl.-Inform. Willi Richert
C-LAB - Cooperative Computing & Communication Laboratory
der Universität Paderborn und Siemens

FU.323
Fürstenallee 11
D-33102 Paderborn
Tel: +49 52 51 60 - 61 20
Fax: +49 52 51 60 - 60 65
E-Mail: richert@...840...
Internet: http://www.c-lab.de