Chart::GGPlot::Aes::Functions - Function interface for aesthetics mappings
version 0.0005
aes_all(@aes_names)
Given a array of aes names, create a set of identity mappings, that is like aes(x => 'x', y => 'y', ...).
aes(x => 'x', y => 'y', ...)
aes(%aesthetics_mapping);
This function is not exactly same as Chart::GGPlot::Aes->new(). This function is specifically for creating aesthetics mapping which specifies the mapping from data to aesthetics. Returned aes object from this function is usually used for the mapping attr of Chart::GGPlot::Plot objects or Chart::GGPlot::Geom objects.
Chart::GGPlot::Aes->new()
mapping
Chart::GGPlot::Plot
Chart::GGPlot::Geom
Values of %aesthetics_mapping need to be one of the following:
%aesthetics_mapping
An Eval::Quosure object.
Eval::Quosure
Anything else would be stringified and converted to an Eval::Quosure
object with enviroment be caller of the aes() function.
aes()
Chart::GGPlot::Aes, Eval::Quosure
Stephan Loyd <sloyd@cpan.org>
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.
To install Chart::GGPlot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chart::GGPlot
CPAN shell
perl -MCPAN -e shell install Chart::GGPlot
For more information on module installation, please visit the detailed CPAN module installation guide.