On 2008-01-16 20:03-0500 Hazen Babcock wrote:
On Jan 16, 2008, at 1:51 AM, Alan W. Irwin wrote:On 2008-01-15 23:05-0500 Hazen Babcock wrote:[...] any ideas on how to get rid of the lines plshades is drawing between each contour level? I was hoping for a smooth gradient in alpha value but the effect is ruined somewhat by these lines.Seehttp://plplot.sourceforge.net/docbook-manual/plplot-html-5.8.0/ plshades.html."Set this value (cont_color) to zero or less if no shade edge contours are wanted."I tried that, as you can see in the code in example 30, but it does not work for me. I can still see faint black lines separating the different colors. Does it work for you?
I attach the result for the second page for the png (not pngcairo) device so you can be the judge. I don't see any extraneous black lines here, but OTOH, it is mostly just a big red blob with some minor transparency effects so perhaps something is not working quite correctly for the second page for the png device. Alternatively, it may be working correctly and you just haven't yet had a chance to design a dramatic range of colours to accentuate the transparency effects. I also tried it for the psc device. That device is not alpha-enabled yet, but it was interesting that the second page (literally just a red rectangle for this special case of non-enabled device) had black lines in it (where the black background leaked through) with antialiasing turned on. The lines disappeared with antialiasing turned off so you may also need to turn off antialiasing to get rid of the black lines for cairo devices. BTW, I am in the middle of fiddling with the cairo CMake configuration to allow me to use an alternate stack, but it is not right yet so I don't have access to cairo at the moment. 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 __________________________
x30c.png.02
Description: second page of example 30 with -dev png
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel