>> Again, add in layout: >> >> color map-fg 50 >> symbol-hide group all >> symbol-show area water >> >> code metapost >> def a_water (expr p) = >> T:=identity; >> thfill p withcolor (0.1, 0.2, 0.8); >> enddef;
It would be more correct do define own symbol set than to redefine the default symbol (it has the same result, but redefining the default doesn't allow to switch among various symbol sets). So the correct solution is: ----------------------------- color map-fg 50 symbol-hide group all symbol-show area water symbol-assign area water MY code metapost def a_water_MY (expr p) = T:=identity; thfill p withcolor (0.1, 0.2, 0.8); enddef; initsymbol("a_water_MY"); ----------------------------- Now you may use the symbol-assign command to switch among all predefined symbol sets and the new set MY. Regards, Martin