I cannot run slice_demo1.py under examples directory. I had gnuplot
installed under /usr/bin. I am not sure why 'slice_' in not
implemented. Do I need to install other plotpackage? Currently I have
gnuplot and Matplot. Thanks,
The error message I had are:
scitools.easyviz backend is gnuplot
Traceback (most recent call last):
File "./slice_demo1.py", line 15, in <module>
slice_(x,y,z,v,xslice,yslice,zslice,grid='off')
File "/usr/local/lib/python2.6/dist-packages/scitools/easyviz/
common.py", line 4069, in slice_
self._replot()
File "/usr/local/lib/python2.6/dist-packages/scitools/easyviz/
gnuplot_.py", line 1159, in _replot
self._add_slices(item)
File "/usr/local/lib/python2.6/dist-packages/scitools/easyviz/
gnuplot_.py", line 1027, in _add_slices
raise NotImplementedError(msg)
NotImplementedError: Currently no support for 'slice_' in the Gnuplot
backend.
sorry for the late reply.
On Wed, Dec 23, 2009 at 4:59 PM, gma <contac...@gmail.com> wrote:
> Hi,
>
> I cannot run slice_demo1.py under examples directory. I had gnuplot
> installed under /usr/bin. I am not sure why 'slice_' in not
> implemented. Do I need to install other plotpackage? Currently I have
> gnuplot and Matplot. Thanks,
Yes, you need to install VTK with Python support in order to use the
slice_ command. On Debian based systems you can do this simply by
installing the python-vtk package. You can then run slice_demo1.py
like this:
python slice_demo1.py --SCITOOLS_easyviz_backend vtk
Johannes
--
You received this message because you are subscribed to the Google Groups "scitools" group.
To post to this group, send email to scit...@googlegroups.com.
To unsubscribe from this group, send email to scitools+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scitools?hl=en.
see the troubleshooting section in the Easyviz documentation:
http://code.google.com/p/scitools/wiki/EasyvizDocumentation#The_Plot_Window_Disappears_Quickly
Happy New Year!
Johannes