Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Jul 18, 2024
1 parent 3720655 commit fe71547
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/src/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ table = DataFrame(T=rand(25), P=rand(25))
We can georeference this table based on a given set of points:

```@example data
georef(table, rand(Point{2}, 25)) |> plot
georef(table, rand(Point, 25)) |> plot
```

or alternatively, georeference it on a 5x5 regular grid (5x5 = 25 samples):
Expand Down Expand Up @@ -103,7 +103,7 @@ georef((T=T, P=P)) |> plot
Alternatively, we can interpret the entries of the named tuple as columns in a table:

```@example data
georef((T=vec(T), P=vec(P)), rand(Point{2}, 25)) |> plot
georef((T=vec(T), P=vec(P)), rand(Point, 25)) |> plot
```

### Files
Expand Down
2 changes: 1 addition & 1 deletion docs/src/domains.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ PointSet
```

```@example domains
pset = PointSet(rand(Point{3}, 100))
pset = PointSet(rand(Point, 100))
viz(pset)
```
Expand Down
2 changes: 1 addition & 1 deletion docs/src/transforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ UniqueCoords

```@example transforms
# point set with repeated points
p = rand(Point{2}, 50)
p = rand(Point, 50)
Ω = georef((Z=rand(100),), [p; p])
```

Expand Down
2 changes: 1 addition & 1 deletion docs/src/variography/theoretical.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ To illustrate the concept, consider the following 2D data set:
using Random # hide
Random.seed!(2000) # hide
points = rand(Point{2}, 50) |> Scale(100)
points = rand(Point, 50, crs=Cartesian2D) |> Scale(100)
geotable = georef((Z=rand(50),), points)
viz(geotable.geometry, color = geotable.Z)
Expand Down

0 comments on commit fe71547

Please sign in to comment.