Chart-Plot

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for Perl module Chart::Plot

v 0.0 - 08 March 1998 
        - first version
v 0.01 - 09 March 1998; 
         - _getOM reports >= max instead of >;
         - fixed bug in setData() data check
v 0.02 - 10 March 1998; 
         - changed error handling in setData() (public method) which
           now returns undef on success and sets $self->error ;
         - changed legend to title (public method)
         - adjusted horizontal tick labels up a bit
v 0.03 - 15 March 1998
         - added colors and dashed line options to dataset graph style
         - added option to pass dataset as two arrays (@xdata, @ydata)
         - added hack for case om == max
v 0.04 - 15 March 1998
         - added general purpose setGraphOptions()
v 0.05 - 18 March 1998
         - added synopsis to pod
         - added getBounds()

Plot.pm  view on Meta::CPAN


# Changes:
#   v 0.0 - 08 March 1998 
#           first version
#   v 0.01 - 09 March 1998; 
#            - _getOM reports >= max instead of >;
#            - fixed bug in setData() data check
#   v 0.02 - 10 March 1998; 
#            - changed error handling in setData() (public method) which
#            now returns undef on success and sets $self->error ;
#            - changed legend to title (public method)
#            - adjusted horizontal tick labels up a bit
#   v 0.03 - 15 March 1998
#            - added colors and dashed line options to dataset graph style
#            - added option to pass dataset as two arrays (@xdata, @ydata)
#            - added hack for case om == max
#   v 0.04 - 15 March 1998
#            - added general purpose setGraphOptions()
#   v 0.05 - 18 March 1998
#            _ added synopsis to pod
#            - added getBounds()

Plot.pm  view on Meta::CPAN

If your data is bunched tightly but far away from the origin, then you
will obtain a better chart if the graph is clipped away from the
origin. I have not yet found a useful way to do this, but I am still
thinking. You may be able to use Custom Tick Labels to improve your
chart in the meantime.

You will probably be unhappy with axis tick labels running together if
you use scientific notation.  Controlling tick label formatting and
length for scientific notation seems doable but challenging.

Future versions might incorporate a legend, control of font size, word
wrap and dynamic adjustment of axis labels and title. Better code, a
better pod page.


=head1 AUTHOR

Copyright (c) 1998-2000 by Sanford Morton <smorton@pobox.com>  All
rights reserved.  This program is free software; you can redistribute
it and/or modify it under the same terms as Perl itself. 



( run in 1.182 second using v1.01-cache-2.11-cpan-49f99fa48dc )