Color graphics, 3d rendering and data manipulation routines for Scilab by Enrico Segre The current [so-to-say] stable version is 0.10.1 (10/1/2006), but we have already reached 0.10.4, for what it matters. The up-to-date version should be found, at least for some time, on http://www.weizmann.ac.il/~fesegre/scistuff.html. Notes: In previous versions, some backcompatibility was granted. Now, things have been tuned up for the current CVS only, meaning that probably work also in scilab 3.1 or 3.1.1 (I'd be happy to hear if they work on earlier versions). The graphical routines in this version aim to work equally well in either old or new graphic mode. The routines which use xfpolys(), i.e. pixmapl(), polarmap() and xprofile(), are much faster in old figure style, due do inefficient handling of xfpolys in the new style, though. The old home location http://www.polito.it/~segre/scistuff.html disappeared since long. Short description: ================== arrowfield - 2d plot of a vector field bip - ascii character beep champ3 - 3d vector field plot with rendered arrows cplot - 2d plot of a colored curve cplot3d - 3d plot of colored curves cpoints - 2d plot of colored dots date2day - day number corresponding to gregorian date day2date - gregorian date corresponding to day number downsample - reduce the entries of a hypermatrix by averaging neighbors errbar - 2d plot of errorbars (nicer) fasthistogram - fast version of histogram() grid2Ddata - grid sparse data points to a 2d structured grid histogram - histogram of a vector of monovariate data histogram2 - joint histogram of values in a bivariate space interp2 - bilinear interpolation of z(x,y) interp3 - trilinear interpolation of s(x,y,z) interp3v - trilinear interpolation of a 3d vector field isearch - vector lookup isosurf3d - isosurface of level s=s0 from 3d gridded data mhistogram - histogram of each rows of a matrix oplot - 2d plot of x,y datasets of different length, with linespoints oplot3d - 3d plot of sets of facelets with different renderings pixmapl - false color plot of a matrix, with colorbar and contours polarmap - false color plot of a matrix in polar (radar) form polarplot - rose-of-winds plot of a polar function rebin - rebins a matrix on a new grid using bilinear interpolation rebin3 - regrids a 3d hypermatrix using trilinear interpolation ribbon - rendering of trajectories or flowlines in 3D setcmap - choose one among various predefined colormaps shadecomp - calculates the shading of a set of 3d faces for rendering shadesurf - 3d-plot of a surface with source-of-light shading shadesurf2 - plot of a surface with shaded lighting shift - cyclically shifts the entries of a vector or of a matrix shrinkfaces - shrink a set of 3d facelets for better visibility slice3d - generates a plane cut of a 3d hypermatrix in 3d space spaghetti - trajectories or flowlines as tubes in 3D sphere - generates facelets for a set ot 3d spheres spherecast - embeds a matrix onto a sphere for false color plotting subwind - sets a subwindow of the current graphic window tintcmap - set a stacked colormap based on prescribed tints traj2 - integrate trajectories in a stationary 2d flow traj2t - integrate trajectories in a time-dependent 2d flow traj3 - integrate trajectories in a stationary 3d flow trisplit - triangularize a set of 3d facelets by interpolation tubelet - lines as tubules in 3D whats - verbose information about objects in scilab whotop - listing of variables sorted by size xprofile - interactive profiles of sections of a 2d matrix Hope you find them useful. Comments and suggestions are welcome! Author ====== Enrico Segre Physics Services, Weizmann Institute 76100 Rehovot, Israel tel. +972-8-934-2047, fax +972-8-934-4172 email enrico.segre.NOSPAM@weizmann.NOSPAM.ac.il (remove .NOSPAM) Installation ============ To Install this toolbox: (Scilab>=2.6 0nly) windows/unix [1] To build the package: (you need a C compiler, or you have to live without the routine fasthistogram() ) 1.1 A precompiled version for windows platform can be downloaded on Scilab site (so says JPC) In this case jump to [2] 1.2 run builder.sce under scilab (you must be in this directory when running builder.sce) or change the content of Path.incl and run make [2] To load the package: run the scilab script loader.sce (from where you want) [3] To clean: type make distclean (make distclean wil only work after step [1] is performed) After the installation, you can view some demos by typing es_demos() at the scilab prompt, or choosing "Advanced Graphic Toolbox" in the demo menu. Contents ======== README : this file CHANGES : changelog, version tracker loader.sce : installation script builder.sce : script for buliding the library Makefile : Makefile.mak : Path.incl : (generated) builder.dia : (generated) macros : directory of Scilab functions *.sci : source versions builder.sce : if one wishes to rebuild from script Makefile : *.bin : precompiled binary versions (generated) names : table of functions (generated) lib : scilab library binary save (generated) man : directory for help. *.cat : formatted text help files whatis : short function description builder.sce : if one wishes to rebuild from script (some other generated files) man-xml : directory for the new xml help files *.xml : help sources *.html : compiled help pages (generated) src histof.c : fast histogram code Makefile : Makefile.mak : builder.sce : if one wishes to rebuild from script (some other generated files) demos : enrico.dem : toolbox demo script