[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[modeller_usage] to generate the DOPE plot



Hi, modellers,

I installed both "python-matplotlib" and "gnuplot" on my Fedora 13. My
system have three versions of python:

python2.6:  
/usr/lib/python2.6/ 

python2.3:
/usr/local/lib/python2.3

python2.7
/usr/local/lib/python2.7

matplotlib is under python2.6
/usr/lib/python2.6/site-packages/matplotlib

####################
the command "mod9.9 plot_profile.py" gives the following error:

Traceback (most recent call last):
  File "plot_profiles.py", line 1, in ?
    import pylab
ImportError: No module named pylab
#####################
the command 'gnuplot "TvLDH.profile" using 1:42 with lines' gives this
error:

1  MET       0.0         0.0         0.0         0.0         0.0
0.0         0.0         0.0         0.0         0.0         0.0
0.0         0.0         0.0         0.0         0.0         0.0
0.0         0.0         0.0         0.0         0.0         0.0
0.0         0.0         0.0         0.0         0.0         0.0
0.0       -0.29E-01     0.0         0.0         0.0         0.0
0.0         0.0         0.0         0.0       -0.29E-01
^
"TvLDH.profile", line 8: invalid command

##################
these are python executables:

[root@localhost bin]# ls -l /usr/local/bin/python*
-rwxr-xr-x. 2 root root 4621643 Jul  7  2011 /usr/local/bin/python
-rwxr-xr-x. 1 root root 3122405 Oct 27  2010 /usr/local/bin/python2.3
-rwxr-xr-x. 2 root root 4621643 Jul  7  2011 /usr/local/bin/python2.7
-rwxr-xr-x. 1 root root    1624 Jul  7
2011 /usr/local/bin/python2.7-config
lrwxrwxrwx. 1 root root      16 Jul  7
2011 /usr/local/bin/python-config -> python2.7-config

[root@localhost bin]# ls -l /usr/bin/python*
-rwxr-xr-x. 2 root root 6088 Jun  4  2010 /usr/bin/python
lrwxrwxrwx. 1 root root    6 Sep 28  2010 /usr/bin/python2 -> python
-rwxr-xr-x. 2 root root 6088 Jun  4  2010 /usr/bin/python2.6
-rwxr-xr-x. 1 root root 1418 Jun  4  2010 /usr/bin/python2.6-config
lrwxrwxrwx. 1 root root   16 Sep 28  2010 /usr/bin/python-config ->
python2.6-config

How to fix my system to make the gnuplot and matplotlib work? 

Thank you. 

XP