From d63e65b948e17c0ee86a4d27895126ae533be38e Mon Sep 17 00:00:00 2001 From: Aditya Dahiya <78020296+Aditya-Dahiya@users.noreply.github.com> Date: Mon, 30 Sep 2024 10:37:41 +0530 Subject: [PATCH] Update ext-springs.qmd Minor spelling correction: "can" instead of "an" --- ext-springs.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext-springs.qmd b/ext-springs.qmd index 5269f310..83eb2018 100644 --- a/ext-springs.qmd +++ b/ext-springs.qmd @@ -830,7 +830,7 @@ We'll see an example of this in a moment. ### Viewports The second key concept in grid is the idea of a **viewport**. -A viewport is a rectangular plotting region that supplies its own coordinate system for grobs that are drawn within it, and can also provide a tabular grid in which other viewports an be nested. +A viewport is a rectangular plotting region that supplies its own coordinate system for grobs that are drawn within it, and can also provide a tabular grid in which other viewports can be nested. An individual grob can have its own viewport or, if none is provided, it will inherit one. While we won't need to consider viewports when building the grob for our springs, they're an important concept that powers much of the high-level layout of ggplot2 graphics so we'll very briefly introduce them here. In the example below we use `viewport()` to define two different viewports, one with default parameters, and second one that is rotated around the midpoint by 15 degrees: