Skip to content

Commit 81b7eee

Browse files
committed
Rerun README
1 parent 048860a commit 81b7eee

12 files changed

+21
-57
lines changed

README.md

Lines changed: 21 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -20,52 +20,16 @@ Overview
2020

2121
The goal of this package is to simplify plotting in R. This includes improving the basic workflow and using defaults that tend to adhear to USGS style guidelines. Extra features and functions are included that are not available in base for common USGS elements (error bars, callouts, reverse y axes, etc.). This is intended to make the plotting code more concise and easier to interpret for the sake of reproducibility.
2222

23-
<table style="width:57%;">
24-
<colgroup>
25-
<col width="19%" />
26-
<col width="37%" />
27-
</colgroup>
28-
<thead>
29-
<tr class="header">
30-
<th align="left">Feature</th>
31-
<th align="left">Description</th>
32-
</tr>
33-
</thead>
34-
<tbody>
35-
<tr class="odd">
36-
<td align="left"><a href="#pipes">Piping and plots as objects</a></td>
37-
<td align="left">Easily add features to your plot.</td>
38-
</tr>
39-
<tr class="even">
40-
<td align="left"><a href="#legend">Automatic legend</a></td>
41-
<td align="left">For each plot feature, a corresponding legend name can be specified. Eliminates the need to duplicate <code>par</code> arguments.</td>
42-
</tr>
43-
<tr class="odd">
44-
<td align="left"><a href="#limits">Automatic limits</a></td>
45-
<td align="left">Automatically regenerate limits of plot when new features are added.</td>
46-
</tr>
47-
<tr class="even">
48-
<td align="left"><a href="#error">Error bars</a></td>
49-
<td align="left">Apply error bars to points by specifying the upper and lower offsets.</td>
50-
</tr>
51-
<tr class="odd">
52-
<td align="left"><a href="#callouts">Callouts</a></td>
53-
<td align="left">Add a line and label in one call.</td>
54-
</tr>
55-
<tr class="even">
56-
<td align="left"><a href="#reverse">Axes reversal</a></td>
57-
<td align="left">Reverse the axis by specifying one argument to <code>axis()</code>.</td>
58-
</tr>
59-
<tr class="odd">
60-
<td align="left"><a href="#embed">Embedded functions</a></td>
61-
<td align="left">Add extra plot features within a points call (no duplication of x/y values)</td>
62-
</tr>
63-
<tr class="even">
64-
<td align="left"><a href="#base">Compatibility with base</a></td>
65-
<td align="left">Can start a plot using <code>gsplot</code>, and add base R features afterwards.</td>
66-
</tr>
67-
</tbody>
68-
</table>
23+
| Feature | Description |
24+
|---------------------------------------|------------------------------------------------------------------------------------------------------------------------|
25+
| [Piping and plots as objects](#pipes) | Easily add features to your plot. |
26+
| [Automatic legend](#legend) | For each plot feature, a corresponding legend name can be specified. Eliminates the need to duplicate `par` arguments. |
27+
| [Automatic limits](#limits) | Automatically regenerate limits of plot when new features are added. |
28+
| [Error bars](#error) | Apply error bars to points by specifying the upper and lower offsets. |
29+
| [Callouts](#callouts) | Add a line and label in one call. |
30+
| [Axes reversal](#reverse) | Reverse the axis by specifying one argument to `axis()`. |
31+
| [Embedded functions](#embed) | Add extra plot features within a points call (no duplication of x/y values) |
32+
| [Compatibility with base](#base) | Can start a plot using `gsplot`, and add base R features afterwards. |
6933

7034
<a name="pipes"></a>
7135

@@ -94,7 +58,7 @@ myplot <- myplot %>% points(4,3,col="blue")
9458
myplot
9559
```
9660

97-
![](README_files/figure-markdown_github/unnamed-chunk-3-1.png)
61+
![](README_files/figure-markdown_github/unnamed-chunk-3-1.png)<!-- -->
9862

9963
<a name="legend"></a>
10064

@@ -128,7 +92,7 @@ myplot <- gsplot() %>%
12892
myplot
12993
```
13094

131-
![](README_files/figure-markdown_github/unnamed-chunk-5-1.png)
95+
![](README_files/figure-markdown_github/unnamed-chunk-5-1.png)<!-- -->
13296

13397
<a name="limits"></a>
13498

@@ -153,7 +117,7 @@ limitsplot <- gsplot() %>%
153117
limitsplot
154118
```
155119

156-
![](README_files/figure-markdown_github/unnamed-chunk-7-1.png)
120+
![](README_files/figure-markdown_github/unnamed-chunk-7-1.png)<!-- -->
157121

158122
<a name="error"></a>
159123

@@ -179,7 +143,7 @@ errorbarplot <- gsplot() %>%
179143
errorbarplot
180144
```
181145

182-
![](README_files/figure-markdown_github/unnamed-chunk-9-1.png)
146+
![](README_files/figure-markdown_github/unnamed-chunk-9-1.png)<!-- -->
183147

184148
<a name="callouts"></a>
185149

@@ -204,7 +168,7 @@ calloutsplot <- gsplot() %>%
204168
calloutsplot
205169
```
206170

207-
![](README_files/figure-markdown_github/unnamed-chunk-11-1.png)
171+
![](README_files/figure-markdown_github/unnamed-chunk-11-1.png)<!-- -->
208172

209173
<a name="reverse"></a>
210174

@@ -226,7 +190,7 @@ reverseplot <- gsplot() %>%
226190
reverseplot
227191
```
228192

229-
![](README_files/figure-markdown_github/unnamed-chunk-13-1.png)
193+
![](README_files/figure-markdown_github/unnamed-chunk-13-1.png)<!-- -->
230194

231195
<a name="embed"></a>
232196

@@ -256,7 +220,7 @@ embedplot <- gsplot() %>%
256220
embedplot
257221
```
258222

259-
![](README_files/figure-markdown_github/unnamed-chunk-15-1.png)
223+
![](README_files/figure-markdown_github/unnamed-chunk-15-1.png)<!-- -->
260224

261225
<a name="base"></a>
262226

@@ -272,7 +236,7 @@ gs
272236
points(1.2,2.5)
273237
```
274238

275-
![](README_files/figure-markdown_github/unnamed-chunk-16-1.png)
239+
![](README_files/figure-markdown_github/unnamed-chunk-16-1.png)<!-- -->
276240

277241
Improved workflow examples
278242
--------------------------
@@ -295,7 +259,7 @@ demoPlot <- gsplot() %>%
295259
demoPlot
296260
```
297261

298-
![](README_files/figure-markdown_github/unnamed-chunk-17-1.png)
262+
![](README_files/figure-markdown_github/unnamed-chunk-17-1.png)<!-- -->
299263

300264
``` r
301265
gs <- gsplot() %>%
@@ -310,7 +274,7 @@ gs <- gsplot() %>%
310274
gs
311275
```
312276

313-
![](README_files/figure-markdown_github/unnamed-chunk-18-1.png)
277+
![](README_files/figure-markdown_github/unnamed-chunk-18-1.png)<!-- -->
314278

315279
``` r
316280
usrDef <- gsplot(mar=c(4,4,4,4), xaxs='r', yaxs='r') %>%
@@ -322,7 +286,7 @@ usrDef <- gsplot(mar=c(4,4,4,4), xaxs='r', yaxs='r') %>%
322286
usrDef
323287
```
324288

325-
![](README_files/figure-markdown_github/unnamed-chunk-19-1.png)
289+
![](README_files/figure-markdown_github/unnamed-chunk-19-1.png)<!-- -->
326290

327291
Disclaimer
328292
----------
-8.92 KB
Loading
-7.38 KB
Loading
-8.37 KB
Loading
-9.74 KB
Loading
-11.7 KB
Loading
-10.2 KB
Loading
-12 KB
Loading
-8.1 KB
Loading
-10 KB
Loading

0 commit comments

Comments
 (0)