here's a two-minute, rather innacurate hack: http://www.ryanbyrd.net/tmp/soil.php
the secret is all here: http://www.ryanbyrd.net/tmp/soil40_colored.png rb > Ok guys here is a question that has haunted me for a while and I would > greatly appreciate any and all help. > I have this graph: > http://ilmbwww.gov.bc.ca/risc/pubs/teecolo/fmdte/images/soil40.jpg > And what I want to do is make a function out of it...something like this > > String soilTexture(int percentClay, int percentSand) { > //do the magic > return String from wherever the point falls on the graph > } > > I was thinking of doing a 2D array but I don't really want to enter 500 > values plus there is a huge chance of error from that. I was wondering if > there was some other way that I could do this so it would be much more > simple and less full of errors? I am doing it in access...I know, I know > don't get mad. But it is a really nifty program that makes my life a lot > easier most of the time :) That said I have access to VBA script stuff as > well as normal database things. Any ideas guys? > Thanks, > Jeremy > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.472 / Virus Database: 269.8.16/849 - Release Date: 6/14/2007 > 12:44 PM > > -------------------- > BYU Unix Users Group > http://uug.byu.edu/ > > The opinions expressed in this message are the responsibility of their > author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. > ___________________________________________________________________ > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list > -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
