This commit is contained in:
Thomas Breloff 2015-09-21 17:31:36 -04:00
parent bcb9ac5501
commit 2649d97d69
2 changed files with 11 additions and 11 deletions

View File

@ -180,13 +180,13 @@ Keyword | Default | Type | Aliases
`:legend` | `true` | Plot | `:leg`
`:show` | `false` | Plot | `:display`
`:size` | `(800,600)` | Plot | `:windowsize`, `:wsize`
`:title` | `` | Plot | `:`
`:title` | `` | Plot |
`:windowtitle` | `Plots.jl` | Plot | `:wtitle`
`:xlabel` | `` | Plot | `:xlab`
`:xticks` | `true` | Plot | `:`
`:xticks` | `true` | Plot |
`:ylabel` | `` | Plot | `:ylab`
`:yrightlabel` | `` | Plot | `:y2lab`, `:y2label`, `:ylab2`, `:ylabel2`, `:ylabelright`, `:ylabr`, `:yrlab`
`:yticks` | `true` | Plot | `:`
`:yticks` | `true` | Plot |
Plot types:
@ -200,13 +200,13 @@ Type | Desc | Aliases
`:steppost` | Step plot (horizontal then vertical) | `:stair`, `:stairs`, `:step`
`:sticks` | Vertical lines | `:stem`
`:scatter` | Points, no lines | `:dots`
`:heatmap` | Colored regions by density | `:`
`:hexbin` | Similar to heatmap | `:`
`:heatmap` | Colored regions by density |
`:hexbin` | Similar to heatmap |
`:hist` | Histogram (doesn't use x) | `:histogram`
`:bar` | Bar plot (centered on x values) | `:`
`:hline` | Horizontal line (doesn't use x) | `:`
`:vline` | Vertical line (doesn't use x) | `:`
`:ohlc` | Open/High/Low/Close chart (expects y is vector of 4-tuples) | `:`
`:bar` | Bar plot (centered on x values) |
`:hline` | Horizontal line (doesn't use x) |
`:vline` | Vertical line (doesn't use x) |
`:ohlc` | Open/High/Low/Close chart (expects y is vector of 4-tuples) |
Line styles:
@ -216,7 +216,7 @@ Type | Aliases
`:auto` | `:a`
`:solid` | `:s`
`:dash` | `:d`
`:dot` | `:`
`:dot` |
`:dashdot` | `:dd`
`:dashdotdot` | `:ddd`

View File

@ -94,7 +94,7 @@ const examples = PlotExample[
function createStringOfMarkDownCodeValues(arr, prefix = "")
string("`", prefix, join(arr, "`, `$prefix"), "`")
end
createStringOfMarkDownSymbols(arr) = createStringOfMarkDownCodeValues(arr, ":")
createStringOfMarkDownSymbols(arr) = isempty(arr) ? "" : createStringOfMarkDownCodeValues(arr, ":")
function generate_markdown(pkgname::Symbol)