I stumbled up GD::Graph and it looks like the exact module I want to use to create graphs with in a script of mine. The thing is, apparently I cannot set the origin of a scatter plot to the bottom left corner of the plot. The y-axis zero point begins at the bottom left corner, but the x-axis zero point is some distance away from that corner.
So say I wanted to graph y=x: the points are (0,0), (1,1), etc. When I graph the function, it's shifted over to the right and doesn't intersect the origin of the graph. (If you're being pedantic, it intersects the origin but the origin isn't the bottom left corner of the screen.)
I went over the manpage at CPAN about a billion times, and I can't find how to move the x-axis zero point. Can anyone help me out here, or refer me to a module that can? I need to be able to do multiple plots on the same graph.
Thanks for the help!
In reply to Using GD::Graph and setting the origin by azredwing
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |