This is a proof of concept for a Maxima-VTK interface.
Gnuplot and VTK are very different and I am trying to use the same syntax, the same graphics objects, and the same options. Despite my efforts, sometimes it is very difficult, or even impossible, to maintain 100% syntax compatibility. The main reason for developing this package is to make better graphics in 3D with Maxima, since Gnuplot is not a good program for this task.
This web site is presently the only source of information available for this (experimental) VTK interface. It is part of the Maxima draw package. The code presented in this site was tested with VTK 6.3, and it is not compatible with 5.* versions.
In Windows, since version 5.38 (thanks to Wolfgang Dautermann), the installer contains VTK and you are ready to use VTK from Maxima.
In Linux systems, you have to install these two packages:
# apt-get install vtk6 python-vtk6
In Mac systems, since version 5.40 (thanks to Tomio Arisaka), there is an installer with VTK precompiled. If you install this package and get problems, please read these messages from the Maxima mailing list:
message1,
message2, and
message3.
Graphic objects
Click on the items below to see examples of graphic objects plotted with the VTK libraries.
logx, logy. Indicates which axes must be transformed in logarithmic scales. Some examples:
(1)
proportional_axes. Sets axes to be proportional. Some examples:
(1)
terminal. By default, the output terminal is the screen. Other terminals are:
PNG (1),
JPG (1),
TIF, PNM,
EPS (1),
VRML (1,
2),
OBJ,
PLY (1),
and STL (1).
view. Positions the viewer in 3D scenes. Example:
(1)