Graphics::Asymptote

Perl interface to the Asymptote interpreter
Download

Graphics::Asymptote Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • David Mertens
  • Publisher web site:
  • http://search.cpan.org/~dcmertens/

Graphics::Asymptote Tags


Graphics::Asymptote Description

Perl interface to the Asymptote interpreter Using the Graphics::Asymptote Perl module, you can create and access instances of the Asymptote interpreter, allowing you to make beautiful postscript figures with all the scripting power of Perl. The Asymptote project describes itself thus (copied verbatim from , 10-1-2009):Asymptote is a powerful descriptive vector graphics language that provides a natural coordinate-based framework for technical drawing. Labels and equations are typeset with LaTeX, for high-quality PostScript output.A major advantage of Asymptote over other graphics packages is that it is a programming language, as opposed to just a graphics program.SYNOPSIS use Graphics::Asymptote; # Start a new interpreter my $asy = Graphics::Asymptote->new; ## Send a bunch of commands ## $asy->send(draw('graph(x, y)'); $asy->yaxis('L = "$sin\left(x\right)$", ticks = Ticks'); $asy->xaxis('L = "$x$"', 'ticks = Ticks'); ## Changing the verbosity of the pipe ## $asy++; # increase verbosity $asy->shipout('prefix = "myGraph"'); # send a command $asy->set_verbosity(); # no argument sets back to zero. # could also just decrement


Graphics::Asymptote Related Software