diff --git a/docs/gadfly_examples.md b/docs/gadfly_examples.md index 1d7b03a1..910b829d 100644 --- a/docs/gadfly_examples.md +++ b/docs/gadfly_examples.md @@ -1,12 +1,19 @@ # Examples for backend: gadfly -- Supported arguments: args, axis, color, kwargs, label, legend, linestyle, linetype, marker, markercolor, markersize, nbins, reg, size, title, width, windowtitle, xlabel, ylabel, yrightlabel -- Supported values for axis: [:auto,:left] -- Supported values for linetype: [:line,:step,:sticks,:scatter,:heatmap,:hexbin,:hist,:bar] -- Supported values for linestyle: [:auto,:solid] -- Supported values for marker: [:none,:auto,:rect,:ellipse,:diamond,:cross] +- Supported arguments: `args`, `axis`, `color`, `kwargs`, `label`, `legend`, `linestyle`, `linetype`, `marker`, `markercolor`, `markersize`, `nbins`, `reg`, `size`, `title`, `width`, `windowtitle`, `xlabel`, `ylabel`, `yrightlabel` +- Supported values for axis: `:auto`, `:left` +- Supported values for linetype: `:line`, `:step`, `:sticks`, `:scatter`, `:heatmap`, `:hexbin`, `:hist`, `:bar` +- Supported values for linestyle: `:auto`, `:solid` +- Supported values for marker: `:none`, `:auto`, `:rect`, `:ellipse`, `:diamond`, `:cross` - Is `subplot`/`subplot!` supported? Yes +### Initialize + +```julia +using Plots +gadfly!() +``` + ### Lines A simple line plot of the 3 columns. diff --git a/docs/immerse_examples.md b/docs/immerse_examples.md index 739df33b..10dc1ddd 100644 --- a/docs/immerse_examples.md +++ b/docs/immerse_examples.md @@ -1,12 +1,19 @@ # Examples for backend: immerse -- Supported arguments: args, axis, color, kwargs, label, legend, linestyle, linetype, marker, markercolor, markersize, nbins, reg, size, title, width, windowtitle, xlabel, ylabel, yrightlabel -- Supported values for axis: [:auto,:left] -- Supported values for linetype: [:line,:step,:sticks,:scatter,:heatmap,:hexbin,:hist,:bar] -- Supported values for linestyle: [:auto,:solid] -- Supported values for marker: [:none,:auto,:rect,:ellipse,:diamond,:cross] +- Supported arguments: `args`, `axis`, `color`, `kwargs`, `label`, `legend`, `linestyle`, `linetype`, `marker`, `markercolor`, `markersize`, `nbins`, `reg`, `size`, `title`, `width`, `windowtitle`, `xlabel`, `ylabel`, `yrightlabel` +- Supported values for axis: `:auto`, `:left` +- Supported values for linetype: `:line`, `:step`, `:sticks`, `:scatter`, `:heatmap`, `:hexbin`, `:hist`, `:bar` +- Supported values for linestyle: `:auto`, `:solid` +- Supported values for marker: `:none`, `:auto`, `:rect`, `:ellipse`, `:diamond`, `:cross` - Is `subplot`/`subplot!` supported? Yes +### Initialize + +```julia +using Plots +immerse!() +``` + ### Lines A simple line plot of the 3 columns. diff --git a/docs/pyplot_examples.md b/docs/pyplot_examples.md index f9ffeb56..e1cdc9ad 100644 --- a/docs/pyplot_examples.md +++ b/docs/pyplot_examples.md @@ -1,12 +1,19 @@ # Examples for backend: pyplot -- Supported arguments: args, axis, color, kwargs, label, legend, linestyle, linetype, marker, markercolor, markersize, nbins, size, title, width, windowtitle, xlabel, ylabel, yrightlabel -- 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] -- Supported values for marker: [:none,:auto,:ellipse,:rect,:diamond,:utriangle,:dtriangle,:cross,:xcross,:star1,:hexagon] +- Supported arguments: `args`, `axis`, `color`, `kwargs`, `label`, `legend`, `linestyle`, `linetype`, `marker`, `markercolor`, `markersize`, `nbins`, `size`, `title`, `width`, `windowtitle`, `xlabel`, `ylabel`, `yrightlabel` +- 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` +- Supported values for marker: `:none`, `:auto`, `:ellipse`, `:rect`, `:diamond`, `:utriangle`, `:dtriangle`, `:cross`, `:xcross`, `:star1`, `:hexagon` - Is `subplot`/`subplot!` supported? No +### Initialize + +```julia +using Plots +pyplot!() +``` + ### Lines A simple line plot of the 3 columns. diff --git a/docs/unicodeplots_examples.md b/docs/unicodeplots_examples.md index 7d26696f..ad3f526e 100644 --- a/docs/unicodeplots_examples.md +++ b/docs/unicodeplots_examples.md @@ -1,10 +1,10 @@ # Examples for backend: unicodeplots -- Supported arguments: args, axis, color, kwargs, label, legend, linestyle, linetype, marker, markercolor, markersize, nbins, size, title, width, windowtitle, xlabel, ylabel, yrightlabel -- Supported values for axis: [:auto,:left] -- Supported values for linetype: [:none,:line,:step,:sticks,:scatter,:heatmap,:hexbin,:hist,:bar] -- Supported values for linestyle: [:auto,:solid] -- Supported values for marker: [:none,:auto,:ellipse] +- Supported arguments: `args`, `axis`, `color`, `kwargs`, `label`, `legend`, `linestyle`, `linetype`, `marker`, `markercolor`, `markersize`, `nbins`, `size`, `title`, `width`, `windowtitle`, `xlabel`, `ylabel`, `yrightlabel` +- Supported values for axis: `:auto`, `:left` +- Supported values for linetype: `:none`, `:line`, `:step`, `:sticks`, `:scatter`, `:heatmap`, `:hexbin`, `:hist`, `:bar` +- Supported values for linestyle: `:auto`, `:solid` +- Supported values for marker: `:none`, `:auto`, `:ellipse` - Is `subplot`/`subplot!` supported? Yes ### Initialize @@ -49,7 +49,7 @@ plot([sin,cos],0,4π) Or make a parametric plot (i.e. plot: (fx(u), fy(u))) with plot(fx, fy, umin, umax). ```julia -plot(sin,(x->begin # /Users/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 33: +plot(sin,(x->begin # /home/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 33: sin(2x) end),0,2π) ``` @@ -108,6 +108,16 @@ scatter!(rand(100); markersize=6,color=:blue) ![](../img/unicodeplots/unicodeplots_example_9.png) +### Heatmaps + + + +```julia +heatmap(randn(10000),randn(10000); nbins=100) +``` + +![](../img/unicodeplots/unicodeplots_example_10.png) + ### Suported line types All options: (:line, :orderedline, :step, :stepinverted, :sticks, :scatter, :none, :heatmap, :hexbin, :hist, :bar)