Skip to content

Commit c418125

Browse files
author
Max Czapanskiy
committed
Replace README screenshots with GIFs
1 parent e6e80cd commit c418125

File tree

8 files changed

+13
-9
lines changed

8 files changed

+13
-9
lines changed

README.Rmd

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,24 @@ mn200312_58_from_nc <- read_nc(nc_path)
4444

4545
## Visualizing data
4646

47-
Examine PRH variables (e.g. depth, pitch, and roll) in an interactive plot. This package also provides deployment mn200312-58 directly for use in R (`mn200312_58`). GitHub READMEs don't support interaction, so we show a screenshot here instead.
47+
Examine PRH variables (e.g. depth, pitch, and roll) in an interactive plot. This package also provides deployment mn200312-58 directly for use in R (`mn200312_58`).
4848

49-
```{r plot}
49+
```{r plot, eval=FALSE}
5050
view_cats(mn200312_58, c("p", "pitch", "roll"))
5151
```
52+
![interactive figure with CATS data](man/figures/README-plot-1.gif)
5253

5354
Triaxial variables (such as accelerometry - `aw`) are represented in multiple colors.
5455

55-
```{r plot_triax}
56+
```{r plot_triax, eval=FALSE}
5657
view_cats(mn200312_58, c("p", "aw", "mw"))
5758
```
59+
![interactive figure with triaxial data](man/figures/README-plot_triax-1.gif)
5860

5961
Explore the animal's 3d movement trajectory.
6062

61-
```{r plot_3d}
63+
```{r plot_3d, eval=FALSE}
6264
view_cats_3d(mn200312_58)
6365
```
66+
![3d movement trajectory of a whale](man/figures/README-plot_3d-1.gif)
67+

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,13 @@ mn200312_58_from_nc <- read_nc(nc_path)
3737

3838
Examine PRH variables (e.g. depth, pitch, and roll) in an interactive
3939
plot. This package also provides deployment mn200312-58 directly for use
40-
in R (`mn200312_58`). GitHub READMEs don’t support interaction, so we
41-
show a screenshot here instead.
40+
in R (`mn200312_58`).
4241

4342
``` r
4443
view_cats(mn200312_58, c("p", "pitch", "roll"))
4544
```
4645

47-
<img src="man/figures/README-plot-1.png" width="100%" />
46+
![interactive figure with CATS data](man/figures/README-plot-1.gif)
4847

4948
Triaxial variables (such as accelerometry - `aw`) are represented in
5049
multiple colors.
@@ -53,12 +52,13 @@ multiple colors.
5352
view_cats(mn200312_58, c("p", "aw", "mw"))
5453
```
5554

56-
<img src="man/figures/README-plot_triax-1.png" width="100%" />
55+
![interactive figure with triaxial
56+
data](man/figures/README-plot_triax-1.gif)
5757

5858
Explore the animal’s 3d movement trajectory.
5959

6060
``` r
6161
view_cats_3d(mn200312_58)
6262
```
6363

64-
<img src="man/figures/README-plot_3d-1.png" width="100%" />
64+
![3d movement trajectory of a whale](man/figures/README-plot_3d-1.gif)

man/figures/README-plot-1.gif

1.75 MB
Loading

man/figures/README-plot-1.png

-36.7 KB
Binary file not shown.

man/figures/README-plot_3d-1.gif

3.79 MB
Loading

man/figures/README-plot_3d-1.png

-20.1 KB
Binary file not shown.
4.32 MB
Loading
-55.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)