Chart::EasyGnuplot

A simple module to create simple plots using Chart::Gnuplot

Chart::EasyGnuplot

A simple modules to make simple plots, without having to think about Gnuplot internals.

Example

Let's plot the fuction "sin(x)-x*cos(x)"

use v6.d;
use Chart::EasyGnuplot;

my @x = 0.0 .. (2*Ļ€);
my @y = gather {
	for @x -> $x{
		take (sin($x)-$x*cos(x));
	}
}

line-plot("sin(x)-x*cos(x)", @x, @y, "Example.png");

Chart::EasyGnuplot v0.1.3

A simple module to create simple plots using Chart::Gnuplot

Authors

  • Mario Calcagno

License

Dependencies

Chart::Gnuplot

Test Dependencies

Provides

  • Chart::EasyGnuplot

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.