[SciPy-User] ANN: visvis

Almar Klein almar.klein@gmail....
Wed Dec 2 02:43:12 CST 2009

Hi Martin,

I've no experience with mayavi, so I 'm not sure about the differences.
Visvis is purely a visualization library, so (other than reading and
writing images) it has not much import/export functionality.

For what it's worth: when visualizing clouds with a large amount of
points in visvis, you can chose your markers such that only OpenGl
points are used (otherwise visvis uses sprites, which can be slower,
especially for large amount of points). To do this, chose the markers
of the Line object to be circles or squares, and if you use an alpha
value smaller than 1, do not use a marker edge.


2009/12/2 Martin van Leeuwen <vanleeuwen.martin@gmail.com>:
> Hi Almar,
> That is great news. I have used Mayavi quite a bit for working with 3D point
> clouds. It works very good, but as I am working a lot on these point clouds,
> I am always interested in other options.
> I am wondering in what way Visvis is different. Are there export functions
> to IDL? Or Constructive Solid Geometry functions/ways to incorporate these?
> Thanks
> Martin
> 2009/12/1 Almar Klein <almar.klein@gmail.com>
>> Hi Giovanni,
>> Thanks for your interesting question.
>> > This is interesting; but which are the differences with
>> > matplotlib/pylab?
>> > Can you make some examples of functions that are available with vv and
>> > maybe
>> > more difficult to implement with matplotlib?
>> > I am preparing a seminar on how to plot data with python and I am
>> > interested
>> > in adding references to new alternatives.
>> The advantage of visvis over matplotlib is that it can plot 3D data.
>> These can be 3D
>> lines and points or 3D rendering of volumetric data (for example CT
>> data). Also,
>> because it uses OpenGl, displaying images, and zooming/panning them is
>> much
>> faster in visvis. Visvis is also designed to be extendable. If you
>> know a bit of OpenGl
>> you can easily create your own world-objects (I call them wobjects)
>> and place them
>> in a scene with other objects.
>> I tried to make visvis a relatively complete visualization library by
>> enabling easy
>> plotting of high quality, with support for labels, title, legend, etc.
>> However, compared
>> to matplotlib, visvis 2D plotting capabilities are very limited. I
>> plan to extend these a
>> bit, by for example providing support for bar plots, but I do not
>> intend to go much
>> further than that.
>> So you might say that visvis is more focussed at 3D visualization, and
>> leaves the
>> advanced 2D visualization to matplotlib. But there is of course some
>> overlap. Another
>> thing to note is that both visvis and matplotlib use an object
>> oriented structure with a
>> functional interface similar to Matlab, which makes the use of both
>> libraries very easy
>> and intuitive.
>> Cheers,
>>  Almar
>> _______________________________________________
>> SciPy-User mailing list
>> SciPy-User@scipy.org
>> http://mail.scipy.org/mailman/listinfo/scipy-user
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user

More information about the SciPy-User mailing list