Skip to content

Commit

Permalink
add links from gallery to library
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarthur committed May 31, 2018
1 parent c1fb389 commit af14373
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 61 deletions.
2 changes: 1 addition & 1 deletion docs/src/gallery/coordinates.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Coordinates

## Coord.cartesian
## [`Coord.cartesian`](@ref)

```@example
using Gadfly
Expand Down
56 changes: 28 additions & 28 deletions docs/src/gallery/geometries.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Geometries

## Geom.abline
## [`Geom.abline`](@ref)

```@example
using Gadfly, RDatasets, Compose
Expand All @@ -12,7 +12,7 @@ plot(dataset("ggplot2", "mpg"),
```


## Geom.bar
## [`Geom.bar`](@ref)

```@example
using Gadfly, RDatasets
Expand All @@ -39,10 +39,10 @@ p2b = plot(D, x=:Sex, y=:Frequency, color=:Eye, Geom.bar(position=:stack),
hstack(p1, hstack(p2a, p2b))
```

See [Scale.color_discrete_manual](@ref) for more information.
See [`Scale.color_discrete_manual`](@ref) for more information.


## Geom.beeswarm
## [`Geom.beeswarm`](@ref)

```@example
using Gadfly, RDatasets
Expand All @@ -51,7 +51,7 @@ plot(dataset("lattice", "singer"), x="VoicePart", y="Height", Geom.beeswarm)
```


## Geom.boxplot
## [`Geom.boxplot`](@ref)

```@example
using Gadfly, RDatasets
Expand All @@ -60,7 +60,7 @@ plot(dataset("lattice", "singer"), x="VoicePart", y="Height", Geom.boxplot)
```


## Geom.contour
## [`Geom.contour`](@ref)

```@example
using Gadfly
Expand All @@ -87,7 +87,7 @@ gridstack([p1 p2; p3 p4])
```


## Geom.density
## [`Geom.density`](@ref)

```@example
using Gadfly, RDatasets, Distributions
Expand All @@ -110,7 +110,7 @@ plot(layer(x=xs, Geom.density, Theme(default_color="orange")),
```


## Geom.density2d
## [`Geom.density2d`](@ref)

```@example
using Gadfly, Distributions
Expand All @@ -122,7 +122,7 @@ plot(x=rand(Rayleigh(2),1000), y=rand(Rayleigh(2),1000),
```


## Geom.ellipse
## [`Geom.ellipse`](@ref)

```@example
using RDatasets, Gadfly
Expand All @@ -142,7 +142,7 @@ hstack(pa,pb)
```


## Geom.errorbar
## [`Geom.errorbar`](@ref)

```@example
using Gadfly, RDatasets, Distributions
Expand All @@ -158,7 +158,7 @@ plot(x=1:length(sds), y=ys, ymin=ymins, ymax=ymaxs,
```


## Geom.hair
## [`Geom.hair`](@ref)

```@example
using Gadfly
Expand All @@ -172,7 +172,7 @@ hstack(pa, pb)
```


## Geom.hexbin
## [`Geom.hexbin`](@ref)

```@example
using Gadfly, Distributions
Expand All @@ -184,7 +184,7 @@ hstack(p1,p2)
```


## Geom.histogram
## [`Geom.histogram`](@ref)

```@example
using Gadfly, RDatasets
Expand All @@ -199,7 +199,7 @@ gridstack([p1 p2; p3 p4])
```


## Geom.histogram2d
## [`Geom.histogram2d`](@ref)

```@example
using Gadfly, RDatasets
Expand All @@ -213,7 +213,7 @@ hstack(p1,p2,p3)
```


## Geom.hline, Geom.vline
## [`Geom.hline`](@ref), [`Geom.vline`](@ref)

```@example
using Gadfly, RDatasets
Expand All @@ -227,7 +227,7 @@ hstack(p1,p2)
```


## Geom.label
## [`Geom.label`](@ref)

```@example
using Gadfly, RDatasets
Expand All @@ -247,7 +247,7 @@ hstack(p1,p2)
```


## Geom.line
## [`Geom.line`](@ref)

```@example
using Gadfly, RDatasets
Expand All @@ -259,7 +259,7 @@ hstack(p1,p2)
```


## Geom.path
## [`Geom.path`](@ref)

```@example
using Gadfly
Expand All @@ -278,7 +278,7 @@ hstack(p1,p2)
```


## Geom.point
## [`Geom.point`](@ref)

```@example
using Gadfly, RDatasets
Expand Down Expand Up @@ -309,7 +309,7 @@ plot(layer(x=rdata[1,:], y=rdata[2,:], color=[colorant"red"], Geom.point),
```


## Geom.polygon
## [`Geom.polygon`](@ref)

```@example
using Gadfly
Expand All @@ -322,7 +322,7 @@ plot(x=[0, 1, 1, 2, 2, 3, 3, 2, 2, 1, 1, 0, 4, 5, 5, 4],
```


## Geom.rect, Geom.rectbin
## [`Geom.rect`](@ref), [`Geom.rectbin`](@ref)

```@example
using Gadfly, Colors, DataFrames, RDatasets
Expand All @@ -341,7 +341,7 @@ plot(dataset("Zelig", "macro"), x="Year", y="Country", color="GDP", Geom.rectbin
```


## Geom.ribbon
## [`Geom.ribbon`](@ref)

```@example
using Gadfly, DataFrames
Expand All @@ -354,7 +354,7 @@ plot(df, x=:x, y=:y, ymin=:ymin, ymax=:ymax, color=:f, Geom.line, Geom.ribbon)
```


## Geom.smooth
## [`Geom.smooth`](@ref)

```@example
using Gadfly, RDatasets
Expand All @@ -367,7 +367,7 @@ hstack(p1,p2)
```


## Geom.step
## [`Geom.step`](@ref)

```@example
using Gadfly
Expand All @@ -377,7 +377,7 @@ plot(x=rand(25), y=rand(25), Geom.step)
```


## Geom.subplot_grid
## [`Geom.subplot_grid`](@ref)

```@example
using Gadfly, RDatasets
Expand Down Expand Up @@ -433,7 +433,7 @@ hstack(p1,p2)
```


## Geom.vector
## [`Geom.vector`](@ref)

```@example
using Gadfly, RDatasets
Expand All @@ -457,7 +457,7 @@ plot(layer1, xsc, ysc, colsc, coord)
```


## Geom.vectorfield
## [`Geom.vectorfield`](@ref)

```@example
using Gadfly, RDatasets
Expand Down Expand Up @@ -486,7 +486,7 @@ hstack(p1,p2)
```


## Geom.violin
## [`Geom.violin`](@ref)

```@example
using Gadfly, RDatasets
Expand Down
14 changes: 7 additions & 7 deletions docs/src/gallery/guides.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Guides

## Guide.annotation
## [`Guide.annotation`](@ref)

```@example
using Gadfly, Compose
Expand All @@ -11,7 +11,7 @@ plot(sin, 0, 2pi, Guide.annotation(compose(context(),
```


## Guide.colorkey
## [`Guide.colorkey`](@ref)

```@example
using Gadfly, RDatasets
Expand All @@ -36,7 +36,7 @@ hstack(pa, pb)
```


## Guide.manual_color_key
## [`Guide.manual_color_key`](@ref)

```@example
using Gadfly, DataFrames
Expand All @@ -50,7 +50,7 @@ plot(pointLayer, lineLayer,
```


## Guide.title
## [`Guide.title`](@ref)

```@example
using Gadfly, RDatasets
Expand All @@ -60,7 +60,7 @@ plot(dataset("ggplot2", "diamonds"), x="Price", Geom.histogram,
```


## Guide.{x,y}label
## [`Guide.xlabel`](@ref), [`Guide.ylabel`](@ref)

```@example
using Gadfly
Expand All @@ -72,7 +72,7 @@ hstack(p1,p2,p3)
```


## Guide.{x,y}rug
## [`Guide.xrug`](@ref), [`Guide.yrug`](@ref)

```@example
using Gadfly
Expand All @@ -81,7 +81,7 @@ plot(x=rand(20), y=rand(20), Guide.xrug)
```


## Guide.{x,y}ticks
## [`Guide.xticks`](@ref), [`Guide.yticks`](@ref)

```@example
using Gadfly
Expand Down
12 changes: 6 additions & 6 deletions docs/src/gallery/scales.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Scales

## Scale.color_continuous
## [`Scale.color_continuous`](@ref)

```@example
using Gadfly
Expand All @@ -27,7 +27,7 @@ hstack(p1,p2,p3)
```


## Scale.color_discrete_hue
## [`Scale.color_discrete_hue`](@ref)

```@example
using Gadfly, Colors, RDatasets
Expand Down Expand Up @@ -61,7 +61,7 @@ hstack(p1,p2)
```


## Scale.color_discrete_manual
## [`Scale.color_discrete_manual`](@ref)

```@example
using Gadfly
Expand All @@ -85,7 +85,7 @@ hstack(pa,pb)
```


## Scale.color_none
## [`Scale.color_none`](@ref)

```@example
using Gadfly
Expand All @@ -98,7 +98,7 @@ hstack(p1,p2)
```


## Scale.{x,y}_continuous
## [`Scale.x_continuous`](@ref), [`Scale.y_continuous`](@ref)

```@example
using Gadfly
Expand All @@ -118,7 +118,7 @@ plot(x=rand(10), y=rand(10), Scale.x_log)
```


## Scale.{x,y}_discrete
## [`Scale.x_discrete`](@ref), [`Scale.y_discrete`](@ref)

```@example
using Gadfly, DataFrames
Expand Down
2 changes: 1 addition & 1 deletion docs/src/gallery/shapes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Shapes

## Shape.square
## [`Shape.square`](@ref)

```@example
using Gadfly, RDatasets
Expand Down
Loading

0 comments on commit af14373

Please sign in to comment.