NAME

Chart::GGPlot::Coord::Functions - Functions of coordination systems

VERSION

version 0.0005

FUNCTIONS

coord_cartesian

    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.

coord_flip

    coord_flip(:$xlim=undef, :$ylim=undef, :$expand=true)

Flip cartesian coordinates so that horizontal becomes vertical, and vertical becoms horizontal.

SEE ALSO

Chart::GGPlot::Coord

AUTHOR

Stephan Loyd <sloyd@cpan.org>

COPYRIGHT AND LICENSE

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.