Created
January 21, 2013 17:54
-
-
Save run4flat/4587857 to your computer and use it in GitHub Desktop.
Adding axis labels via single plot() function call.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use PDL::Graphics::Prima::Simple; | |
| plot( | |
| -data => ds::Pair($time, $temp, | |
| plotType => ppair::Lines, | |
| ), | |
| x => { label => 'Days into the Future' }, | |
| y => { label => 'Temperature (Degrees Fahrenheit)' }, | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment