On Mon, 2009-01-19 at 16:45 -0800, Hamish wrote: > there are 2^8 = 256 possibilities. So range could be 0-255 or 1-256. > If you use 0-255 then 0/255=0.0 and 255/255 is 1.0 and life is easy. > Hamish
Hehehe... actually I did divide by 255 in the beginning, but then, I thought of playing around with sed, cut, tr and just a bit with bc. And I thought of 256. Nonsense but it's a good command-line training I think :-) --------------------------------------------- Take the set of 44 rows and 2 columns, e.g. 111,"255,154,211" 112,"012,234,123" 113,"122,233,133" [...] and transform it to grassrgb and LaTeX format. ---------------------------------------------- _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
