
| Graph axis blend color color bar fog freetype light line material node point plot polygon render scene stencil texcoord text texture vertex Utility array bio hdf make math netcdf Auxiliary curl expact sqlite window |
zePlotUse .new("plot") to create the object. It redefines coordinates for objects it contains. The z-axis is disabled by default. However, any call the set() function with axis="z" will enable the axis. An array used as as a function argument must be double type. :add(object[, object, ...]) Adds any number of objects to the plot. :add(object, x, y, z) Adds an object to the node and position it at x, y, and z in the plot coordinate system. If the object is zeText, it will neither be scaled nor rotated by the plot. Any other type of obejcts will be rotated but not scaled by the plot. :font(object) Sets the Freetype object to be used to generate text. :fontsize(size) Sets font size of axes. The function must be called before setting the axis and tick labels. :rotate(az, ax) The function rotates the object first around the z-axis and then around the x-axis. :scale(xs, ys, zs) Scales all objects in the plot in x, y, and z direction for the factors of xs, ys, and zs. :toglobal(w, h, x, y, z) Converts x, y, and z in the plot coordinate system to those in the global coordinate system. Parameters w and h are the view port width and height respectively. :toglobal(w, h, arr) Converts x, y, and z in the first three vectors of the array from plot coordinates to global coordinates. Parameters w and h are the view port width and height respectively. :toplot(w, h, x, y, z) Converts x, y, and z in the global coordinate system to those in the plot coordinate system. Parameters w and h are the view port width and height respectively. :toplot(w, h, arr) Converts x, y, and z in the first three vectors of the array from global coordinates to plot coordinates. Parameters w and h are the view port width and height respectively. :set{...} Sets axis properties of the plot with a Lua table. Valid key-value pairs in the Lua table are listed as follows.
|