- ENVIRONMENT VARIABLES
- SEE ALSO
- COPYRIGHT AND LICENSE
Chart::GGPlot - ggplot2 port in Perl
At this moment this library is experimental and still under active development (at my after-work time). It's still quite incomplete compared to R's ggplot2 library, but the core features are working.
Besides, it heavily depends on my Alt::Data::Frame::ButMore library, which is also experimental.
use Chart::GGPlot qw(:all); use Data::Frame::Examples qw(mtcars); my $plot = ggplot( data => mtcars(), mapping => aes( x => 'wt', y => 'mpg' ) )->geom_point(); # show in browser $plot->show; # export to image file $plot->save('mtcars.png'); # see "examples" dir of this library's distribution for more examples.
This Chart::GGPlot module is the function interface of the Perl Chart-GGPlot library.
Example exported image files:
examples dir in the library's distribution for more examples.
ggplot(:$data, :$mapping, %rest)
This is same as
Chart::GGPlot::Plot->new(...). See Chart::GGPlot::Plot for details.
qplot(Piddle1D :$x, Piddle1D :$y, Str :$geom='auto', :$xlim=undef, :$ylim=undef, :$log='', :$title=undef, :$xlab='x', :$ylab='y', %rest)
A positive integer would enable debug messages.
Stephan Loyd <email@example.com>
This software is copyright (c) 2019 by Stephan Loyd.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.