hplgit / scitools

Additional scientific computing functionality in Python - extensions to NumPy/SciPy++
http://hplgit.github.io/scitools/doc/web/index.html
Other
64 stars 30 forks source link

Plotting with Gnuplot #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the example from the online Easyviz documentation

What is the expected output? What do you see instead?
The plot window appears without the curve !! The axis names are ok, but the
curve does not appear!! :-(

What version of the product are you using? On what operating system?
I'm running the latest version of SciTools on Ubuntu 8.04 (64bit)
I had my plottings running properly for a long time on opensuse 10.3

Please provide any additional information below.

Original issue reported on code.google.com by jfkmo...@gmx.de on 10 Aug 2008 at 3:40

GoogleCodeExporter commented 9 years ago
sorry, I've forgotten to attached the plotting!

Original comment by jfkmo...@gmx.de on 10 Aug 2008 at 3:55

Attachments:

GoogleCodeExporter commented 9 years ago
There is a problem with Gnuplot.py 1.7 and NumPy arrays on 64bit, however, 
upgrading
to Gnuplot.py 1.8 fixes the problem. Unfortunately, Gnuplot.py 1.8 is not in the
package manager in Hardy so you have to install it manually. You can download 
the
sources from  http://gnuplot-py.sourceforge.net/ (link:
http://dl.sourceforge.net/sourceforge/gnuplot-py/gnuplot-py-1.8.tar.gz). Untar 
it and
run 

  python setup.py install --prefix=/usr/local

Change the prefix as you like, however, make sure that Gnuplot.py 1.8 is first 
in the
PYTHONPATH environment variable, e.g., add the following to ~/.bashrc:

  export PYTHONPATH=/<some prefix>/lib/python2.5/site-packages:$PYTHONPATH

Substitute <some prefix> with your chosen installation prefix.

Hope this solves your problems,
Johannes

Original comment by johannes...@gmail.com on 14 Aug 2008 at 6:50

GoogleCodeExporter commented 9 years ago

Original comment by johannes...@gmail.com on 10 Sep 2009 at 11:45