Tag: axis label
-
A simple ggplot2 scatterplot
Here’s a bit of code used to produce one of the figures in my recent paper dealing with modeling rocky intertidal snail body temperatures. This was my first foray into ggplot2, and it only involved a few hours of head-scratching. The plot is a comparison of 10 years of daily maximum body temperatures of a…
-
Modifying basic plots in R
Below is a walk-through of some of the basics of customizing plots in R. These are all based on the graphics package that comes in the base installation of R. Let’s start by making a basic plot in R. In the code snippets below, green text behind a # sign is considered comments by R,…