in reply to 3d scientific graphing

While looking at other things, I came across the 'PDL' (Perl Data Language) http://pdl.perl.org/ . The screenshots/examples link shows 3-D graphs. This may be what you need. (the module is available on cpan)