RE: Modules aiming at displaying mathematical functions on screen?
After searching the cpan.org site for mathematical modules, I did not find a module which can display graphically the result of a function. I want to see a function curve displayed in a graphical window? How can I make it possible in Perl? Thanks in advance for your help. Module names in quotes: You could build a perl Tk application - it comes with an example related to your query. You could use GD or Imager or Image::Magick to plot pixels and save as various graphics formats. (The latter also exports LaTex, I believe). You could look up the mailing list for PDL, the Perl Data Language subset, where people who *really* know about maths hang around. You could make a PDF using PDF::API2 but that's probably a little trickier than most things above. You could look under Graph on CPAN Hth Lee -- http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: Modules aiming at displaying mathematical functions on screen?
On 09/20/2006 05:24 AM, SFantar wrote: Hello After searching the cpan.org site for mathematical modules, I did not find a module which can display graphically the result of a function. I want to see a function curve displayed in a graphical window? How can I make it possible in Perl? Thanks in advance for your help. Install PDL (perl data language). On Debian when I installed 'pdl' I got PDL::Graphics::PLplot which is a rather nice, perl-native way to generate graphs. use strict; use warnings; use PDL; use PDL::Graphics::PLplot; my $pl = PDL::Graphics::PLplot-new (DEV = pbm, FILE = test.pbm); my $x = sequence(10); my $y = $x**2; $pl-xyplot($x, $y); $pl-close; test.pbm.gz Description: GNU Zip compressed data -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: Modules aiming at displaying mathematical functions on screen?
SFantar schreef: After searching the cpan.org site for mathematical modules, I did not find a module which can display graphically the result of a function. I want to see a function curve displayed in a graphical window? Beyond that: http://maxima.sourceforge.net/ (Lisp) http://symaxx.sourceforge.net/ (Perl) (from a recent integrate() thread on clpm). -- Affijn, Ruud Gewoon is een tijger. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response