From 56e90a266ae07afee8f868c1b818c8fcb9458d19 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Wed, 16 Sep 2015 14:16:58 -0400 Subject: [PATCH] examples --- docs/example_generation.jl | 4 ++-- docs/qwt_examples.md | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/example_generation.jl b/docs/example_generation.jl index de5c3695..89b9741f 100644 --- a/docs/example_generation.jl +++ b/docs/example_generation.jl @@ -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") diff --git a/docs/qwt_examples.md b/docs/qwt_examples.md index 28d666f2..8e9e5c3c 100644 --- a/docs/qwt_examples.md +++ b/docs/qwt_examples.md @@ -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.