Chart::GGPlot::Coord::Functions - Functions of coordination systems
version 0.002003
coord_cartesian(:$xlim=undef, :$ylim=undef, :$expand=true)
The Cartesian coordinate system is the most familiar, and common, type of coordinate system. Setting limits on the coordinate system will zoom the plot (like you're looking at it with a magnifying glass), and will not change the underlying data like setting limits on a scale will.
Arguments:
* $xlim, $ylim
Limits for the x and y axes.
* $expand
If true, the default, adds a small expansion factor to the limits to ensure that data and axes don't overlap. If false, limits are taken exactly from the data or $xlim/$ylim.
$xlim
$ylim
coord_flip(:$xlim=undef, :$ylim=undef, :$expand=true)
Flip cartesian coordinates so that horizontal becomes vertical, and vertical becoms horizontal.
Chart::GGPlot::Coord
Stephan Loyd <sloyd@cpan.org>
This software is copyright (c) 2019-2023 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.