Skip to content

Instantly share code, notes, and snippets.

@run4flat
Created January 21, 2013 17:54
Show Gist options
  • Select an option

  • Save run4flat/4587857 to your computer and use it in GitHub Desktop.

Select an option

Save run4flat/4587857 to your computer and use it in GitHub Desktop.
Adding axis labels via single plot() function call.
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