Skip to content

Commit

Permalink
Remove grob data (#4)
Browse files Browse the repository at this point in the history
* Remove all grob data.

* A pared-down README.

* Increment development version.
  • Loading branch information
MHenderson authored Mar 1, 2024
1 parent bc2544b commit 61bb80b
Show file tree
Hide file tree
Showing 19 changed files with 3 additions and 212 deletions.
6 changes: 0 additions & 6 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
^.*\.Rproj$
^\.Rproj\.user$
^docs$
^CONDUCT\.md$
^README\.Rmd$
^README-.*\.png$
^\.travis\.yml$
^appveyor\.yml$
^codecov\.yml$
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
.Rhistory
.RData
.Ruserdata
inst/doc
5 changes: 2 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
Package: funcgeo
Type: Package
Title: Functional Geometry in R
Version: 0.1.0.9000
Version: 0.1.0.9001
Authors@R: person("Matthew", "Henderson", email = "[email protected]",
role = c("aut", "cre"))
Description: An implementation of Peter Henderson's Functional Geometry in R
using grid graphics.
Description: Peter Henderson's Functional Geometry in R.
License: MIT + file LICENSE
LazyData: TRUE
Imports:
Expand Down
54 changes: 1 addition & 53 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,56 +3,4 @@

# funcgeo

The goal of **funcgeo** is to reproduce, using R, all pictures from the
following two papers of Peter Henderson:

- [Henderson, P. (1982). *Functional
Geometry*.](http://users.ecs.soton.ac.uk/peter/funcgeo.pdf)
- [Henderson, P. (2002). *Functional
Geometry*.](http://eprints.soton.ac.uk/257577/1/funcgeo2.pdf)

## Installation

You can install **funcgeo** from Github

``` r
remotes::install_github("MHenderson/funcgeo")
```

## Examples

``` r
library(funcgeo)

t <- quartet(fish_p, fish_q, fish_r, fish_s)
u <- cycle(rot(fish_q))

side1 <- quartet(nil, nil, rot(t), t)
side2 <- quartet(side1, side1, rot(t), t)

corner1 <- quartet(nil, nil, nil, u)
corner2 <- quartet(corner1, side1, rot(side1), u)

corner <- nonet(
corner2, side2, side2,
rot(side2), u, rot(t),
rot(side2), rot(t), rot(fish_q)
)

squarelimit <- cycle(corner)
plot(squarelimit)
```

![](figure/squarelimit-1.png)<!-- -->

To save a picture as SVG, use the `svg` device.

``` r
svg("fish.svg", width = 3, height = 3)
plot(quartet(fish_p, fish_q, fish_r, fish_s))
dev.off()
```

Please note that this project is released with a [Contributor Code of
Conduct](CONDUCT.md). By participating in this project you agree to
abide by its terms.
Peter Henderson's Functional Geometry in R.
84 changes: 0 additions & 84 deletions data-raw/curved_fish.R

This file was deleted.

9 changes: 0 additions & 9 deletions data-raw/f.R

This file was deleted.

47 changes: 0 additions & 47 deletions data-raw/fish.R

This file was deleted.

9 changes: 0 additions & 9 deletions data-raw/man.R

This file was deleted.

Binary file removed data/cfish_p.rda
Binary file not shown.
Binary file removed data/cfish_q.rda
Binary file not shown.
Binary file removed data/cfish_r.rda
Binary file not shown.
Binary file removed data/cfish_s.rda
Binary file not shown.
Binary file removed data/f.rda
Binary file not shown.
Binary file removed data/fish_p.rda
Binary file not shown.
Binary file removed data/fish_q.rda
Binary file not shown.
Binary file removed data/fish_r.rda
Binary file not shown.
Binary file removed data/fish_s.rda
Binary file not shown.
Binary file removed data/man.rda
Binary file not shown.
Binary file removed figure/squarelimit-1.png
Binary file not shown.

0 comments on commit 61bb80b

Please sign in to comment.