Skip to content

Air4x/raku-Simple-Gnuplot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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");

plotted func

About

A simple way to plot data using Chart::Gnuplot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages