this is the code I have that works (I believe it came from Wookey I cannot see any difference (except the choice of numbers for the colour). I believe that it has to be in a layout endlayout section then that layout used for it to work, I cannot tell if you have done that export map -proj plan -layout common -o Charterhouse.pdf layout common .... # define water to be light blue def a_water (expr p) = T:=identity; #nice light blue - but nearly same as level colour - change back when we have control of that # thfill p withcolor (0.48, 0.84, 1.0); thfill p withcolor (0.0, 0.0, 1.0); enddef; ..... endlayout Boldt, Markus wrote:
Hi, I have tried to color "my" water blue. So I have copied the code from the wiki in my layout. code metapost def a_water (expr p) = T:=identity; thfill p withcolor (0.1, 0.2, 0.8); enddef; endcode
But it doesn`t work? What could be the reason?
73 Markus
------------------------------------------------------------------------
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
------------------------------------------------------------------------
No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.409 / Virus Database: 270.13.113/2400 - Release Date: 09/28/09 05:51:00