This commit is contained in:
Thomas Breloff 2015-09-16 14:16:58 -04:00
parent 1fc59ed522
commit 56e90a266a
2 changed files with 10 additions and 3 deletions

View File

@ -104,7 +104,7 @@ function generate_markdown(pkgname::Symbol)
write(md, "# Examples for backend: $pkgname\n\n")
write(md, "- Supported arguments: $(join(supportedArgs(pkg), ", "))\n")
write(md, "- Supported values for axis: $(supportedAxes(pkg))\n")
write(md, "- Supported values for axis: `:$(join(supportedAxes(pkg), "`, `:"))`\n")
write(md, "- Supported values for linetype: $(supportedTypes(pkg))\n")
write(md, "- Supported values for linestyle: $(supportedStyles(pkg))\n")
write(md, "- Supported values for marker: $(supportedMarkers(pkg))\n")
@ -122,7 +122,7 @@ function generate_markdown(pkgname::Symbol)
# save the png
imgname = "$(pkgname)_example_$i.png"
savepng("$IMGDIR/$pkgname/$imgname")
# savepng("$IMGDIR/$pkgname/$imgname")
# write out the header, description, code block, and image link
write(md, "### $(example.header)\n\n")

View File

@ -1,12 +1,19 @@
# Examples for backend: qwt
- Supported arguments: args, axis, color, fillto, heatmap_c, kwargs, label, legend, linestyle, linetype, marker, markercolor, markersize, nbins, reg, size, title, width, windowtitle, xlabel, ylabel, yrightlabel
- Supported values for axis: [:auto,:left,:right]
- Supported values for axis: `:auto`, `:left`, `:right`
- Supported values for linetype: [:none,:line,:step,:stepinverted,:sticks,:scatter,:heatmap,:hexbin,:hist,:bar]
- Supported values for linestyle: [:auto,:solid,:dash,:dot,:dashdot,:dashdotdot]
- Supported values for marker: [:none,:auto,:ellipse,:rect,:diamond,:utriangle,:dtriangle,:cross,:xcross,:star1,:star2,:hexagon]
- Is `subplot`/`subplot!` supported? Yes
### Initialize
```julia
using Plots
qwt!()
```
### Lines
A simple line plot of the 3 columns.