Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: 3d scientific graphing

by bret.foreman (Acolyte)
on Aug 05, 2004 at 22:07 UTC ( [id://380402]=note: print w/replies, xml ) Need Help??


in reply to Re: 3d scientific graphing
in thread 3d scientific graphing

gnuplot looks to have just the functionality I need. It's going to be awkward to use from PERL, but not impossible. You feed it a bunch of parameters and data in the stdin and it can spit out a gif file to stdout. It's not pretty, though, so I'm still open to suggestions about an all-PERL solution.

Thanks
Bret

Replies are listed 'Best First'.
Re^2: 3d scientific graphing
by kvale (Monsignor) on Aug 05, 2004 at 22:16 UTC
    I would second Aristotle's suggestion of using PDL, It has a submodule, TriD, I think it is called, that will do 3D scatterplots. This is an all perl solution.

    -Mark

      Yes, PDL::Graphics::TriD is a powerful all-PERL solution. A cursory look through the documentation did not reveal any obvious way to use it inside a CGI script, but I'm still studying the problem. If I can find a way to get it to put out GIF or another format that PERL knows how to show in a browser, I'll be set.

      Thanks,
      Bret

        To zoom out (ha!) from the problem a bit: web-usable 3D visualisation is probably best done with an idiomatic 3D technology; back in 2004, VRML, now X3D or similar. There are easy ways to visualise STL in a web context, and PDL can output STL today. PDL is intended to do X3D Real Soon Now™; see IndexedFaceSet to 3D lines in two lines of PDL.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://380402]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-26 00:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found