Created
January 21, 2013 17:48
-
-
Save run4flat/4587806 to your computer and use it in GitHub Desktop.
Adding axis labels via method calls in the plot object.
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; | |
| my ($window, $plot) = line_plot $time, $temp; | |
| $plot->x->label('Days into the Future'); | |
| $plot->y->label('Temperature (Degrees Fahrenheit)'); | |
| $plot->title("Forecast for $zip_code"); | |
| $window->execute; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment