On 2008-10-09 21:44+0200 Werner Smekal wrote: > Hi Alan, > > this would actually be a nice addition to the plplot library, to also make it > more modern. Look for example at > > http://www.scilab.org/publications/JARAUSCH/PinconD.pdf > > on page 84 (document is in German). The colors of the 3d plot on the right > are interpolated and this looks actually quite nice. We could add an > additional parameter for the driver function which draws filled polygons. In > addition to the array of points, we could also have an array of colors (for > the corresponding points) as parameter. This would be minimal changes to the > drivers and the driver itself would have to decide what it does with the > colors if anything.
I certainly like the simplicity of this approach. And it appears to explicitly cover the needs that I mentioned without any API changes. For example, for the logo I intend to follow what example 30 does where plshades is used to draw a rectangle with a large number of levels of different transparency to approximate smoothly varying transparency. However, once the above change was implemented, many fewer levels (in fact, only 2 for example 30) would have to be defined to get a smooth result out of plshades for devices that had native gradient capability. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel