diff --git a/.travis.yml b/.travis.yml index 3237cca7..7796ec41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,4 +18,4 @@ script: - julia -e 'ENV["PYTHON"] = ""; Pkg.clone("PyPlot"); Pkg.build("PyPlot")' - julia -e 'Pkg.clone(pwd()); Pkg.build("Plots")' - julia -e 'Pkg.test("Plots"; coverage=true)' - - julia -e 'cd(Pkg.dir("Plots")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())' + # - julia -e 'cd(Pkg.dir("Plots")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())' diff --git a/README.md b/README.md index d18ac3ab..40597c3d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Plots](http://pkg.julialang.org/badges/Plots_0.3.svg)](http://pkg.julialang.org/?pkg=Plots&ver=0.3) [![Plots](http://pkg.julialang.org/badges/Plots_0.4.svg)](http://pkg.julialang.org/?pkg=Plots&ver=0.4) -[![codecov.io](http://codecov.io/github/tbreloff/Plots.jl/coverage.svg?branch=master)](http://codecov.io/github/tbreloff/Plots.jl?branch=master) + #### Author: Thomas Breloff (@tbreloff) @@ -28,7 +28,6 @@ Please add wishlist items, bugs, or any other comments/questions to the issues l - [PyPlot.jl](docs/pyplot_examples.md) - [UnicodePlots.jl](docs/unicodeplots_examples.md) - [Qwt.jl](docs/qwt_examples.md) -- [Winston.jl](docs/winston_examples.md) Also check out the many [IJulia notebooks](http://nbviewer.ipython.org/github/tbreloff/Plots.jl/tree/master/examples/) with many examples. @@ -54,7 +53,6 @@ Pkg.add("Immerse") Pkg.add("PyPlot") Pkg.add("UnicodePlots") Pkg.clone("https://github.com/tbreloff/Qwt.jl.git") -Pkg.add("Winston") ``` ## Use @@ -384,7 +382,7 @@ Animations are created in 3 steps (see example #2): - [x] PyPlot.jl - [x] UnicodePlots.jl - [x] Qwt.jl -- [x] Winston.jl +- [x] Winston.jl (deprecated) - [ ] GLPlot.jl - [ ] Bokeh.jl - [ ] Vega.jl diff --git a/docs/gadfly_examples.md b/docs/gadfly_examples.md index 1a86e38b..bdee9f9c 100644 --- a/docs/gadfly_examples.md +++ b/docs/gadfly_examples.md @@ -12,7 +12,7 @@ gadfly() A simple line plot of the columns. ```julia -plot(fakedata(50,5),w=3) +plot(Plots.fakedata(50,5),w=3) ``` ![](../img/gadfly/gadfly_example_1.png) @@ -28,8 +28,8 @@ Easily build animations. (`convert` or `ffmpeg` must be available to generate t ```julia p = plot([sin,cos],zeros(0),leg=false) anim = Animation() -for x = linspace(0,10π,200) # /Users/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 43: - push!(p,x,Float64[sin(x),cos(x)]) # /Users/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 44: +for x = linspace(0,10π,200) # /home/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 35: + push!(p,x,Float64[sin(x),cos(x)]) # /home/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 36: frame(anim) end ``` @@ -41,7 +41,7 @@ end Plot function pair (x(u), y(u)). ```julia -plot(sin,(x->begin # /Users/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 50: +plot(sin,(x->begin # /home/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 42: sin(2x) end),0,2π,line=4,leg=false,fill=(0,:orange)) ``` @@ -201,7 +201,7 @@ subplot(randn(100,5),layout=[1,1,3],t=[:line :hist :scatter :step :bar],nbins=10 Note here the automatic grid layout, as well as the order in which new series are added to the plots. ```julia -subplot(fakedata(100,10),n=4,palette=[:grays :blues :heat :lightrainbow],bg=[:orange :pink :darkblue :black]) +subplot(Plots.fakedata(100,10),n=4,palette=[:grays :blues :heat :lightrainbow],bg=[:orange :pink :darkblue :black]) ``` ![](../img/gadfly/gadfly_example_17.png) @@ -211,7 +211,7 @@ subplot(fakedata(100,10),n=4,palette=[:grays :blues :heat :lightrainbow],bg=[:or ```julia -subplot!(fakedata(100,10)) +subplot!(Plots.fakedata(100,10)) ``` ![](../img/gadfly/gadfly_example_18.png) @@ -246,4 +246,4 @@ plot(0.1:0.2:0.9,0.7 * rand(5) + 0.15,l=(3,:dash,:lightblue),m=(Shape(verts),30, - Supported values for marker: `:Plots.Shape`, `:auto`, `:cross`, `:diamond`, `:dtriangle`, `:ellipse`, `:heptagon`, `:hexagon`, `:none`, `:octagon`, `:pentagon`, `:rect`, `:star4`, `:star5`, `:star6`, `:star7`, `:star8`, `:utriangle`, `:xcross` - Is `subplot`/`subplot!` supported? Yes -(Automatically generated: 2015-10-18T00:56:22) \ No newline at end of file +(Automatically generated: 2015-10-26T13:59:43) \ No newline at end of file diff --git a/docs/pyplot_examples.md b/docs/pyplot_examples.md index 64ff66fb..2c94e3cd 100644 --- a/docs/pyplot_examples.md +++ b/docs/pyplot_examples.md @@ -12,7 +12,7 @@ pyplot() A simple line plot of the columns. ```julia -plot(fakedata(50,5),w=3) +plot(Plots.fakedata(50,5),w=3) ``` ![](../img/pyplot/pyplot_example_1.png) @@ -28,8 +28,8 @@ Easily build animations. (`convert` or `ffmpeg` must be available to generate t ```julia p = plot([sin,cos],zeros(0),leg=false) anim = Animation() -for x = linspace(0,10π,200) # /Users/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 43: - push!(p,x,Float64[sin(x),cos(x)]) # /Users/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 44: +for x = linspace(0,10π,200) # /home/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 35: + push!(p,x,Float64[sin(x),cos(x)]) # /home/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 36: frame(anim) end ``` @@ -41,7 +41,7 @@ end Plot function pair (x(u), y(u)). ```julia -plot(sin,(x->begin # /Users/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 50: +plot(sin,(x->begin # /home/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 42: sin(2x) end),0,2π,line=4,leg=false,fill=(0,:orange)) ``` @@ -201,7 +201,7 @@ subplot(randn(100,5),layout=[1,1,3],t=[:line :hist :scatter :step :bar],nbins=10 Note here the automatic grid layout, as well as the order in which new series are added to the plots. ```julia -subplot(fakedata(100,10),n=4,palette=[:grays :blues :heat :lightrainbow],bg=[:orange :pink :darkblue :black]) +subplot(Plots.fakedata(100,10),n=4,palette=[:grays :blues :heat :lightrainbow],bg=[:orange :pink :darkblue :black]) ``` ![](../img/pyplot/pyplot_example_17.png) @@ -211,7 +211,7 @@ subplot(fakedata(100,10),n=4,palette=[:grays :blues :heat :lightrainbow],bg=[:or ```julia -subplot!(fakedata(100,10)) +subplot!(Plots.fakedata(100,10)) ``` ![](../img/pyplot/pyplot_example_18.png) @@ -246,4 +246,4 @@ plot(0.1:0.2:0.9,0.7 * rand(5) + 0.15,l=(3,:dash,:lightblue),m=(Shape(verts),30, - Supported values for marker: `:Plots.Shape`, `:auto`, `:cross`, `:diamond`, `:dtriangle`, `:ellipse`, `:heptagon`, `:hexagon`, `:none`, `:octagon`, `:pentagon`, `:rect`, `:star4`, `:star5`, `:star6`, `:star7`, `:star8`, `:utriangle`, `:xcross` - Is `subplot`/`subplot!` supported? Yes -(Automatically generated: 2015-10-17T23:43:13) \ No newline at end of file +(Automatically generated: 2015-10-26T14:00:57) \ No newline at end of file diff --git a/docs/qwt_examples.md b/docs/qwt_examples.md index f96805b6..5590685e 100644 --- a/docs/qwt_examples.md +++ b/docs/qwt_examples.md @@ -12,7 +12,7 @@ qwt() A simple line plot of the columns. ```julia -plot(fakedata(50,5),w=3) +plot(Plots.fakedata(50,5),w=3) ``` ![](../img/qwt/qwt_example_1.png) @@ -28,8 +28,8 @@ Easily build animations. (`convert` or `ffmpeg` must be available to generate t ```julia p = plot([sin,cos],zeros(0),leg=false) anim = Animation() -for x = linspace(0,10π,200) # /Users/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 43: - push!(p,x,Float64[sin(x),cos(x)]) # /Users/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 44: +for x = linspace(0,10π,200) # /home/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 35: + push!(p,x,Float64[sin(x),cos(x)]) # /home/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 36: frame(anim) end ``` @@ -41,7 +41,7 @@ end Plot function pair (x(u), y(u)). ```julia -plot(sin,(x->begin # /Users/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 50: +plot(sin,(x->begin # /home/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 42: sin(2x) end),0,2π,line=4,leg=false,fill=(0,:orange)) ``` @@ -201,7 +201,7 @@ subplot(randn(100,5),layout=[1,1,3],t=[:line :hist :scatter :step :bar],nbins=10 Note here the automatic grid layout, as well as the order in which new series are added to the plots. ```julia -subplot(fakedata(100,10),n=4,palette=[:grays :blues :heat :lightrainbow],bg=[:orange :pink :darkblue :black]) +subplot(Plots.fakedata(100,10),n=4,palette=[:grays :blues :heat :lightrainbow],bg=[:orange :pink :darkblue :black]) ``` ![](../img/qwt/qwt_example_17.png) @@ -211,7 +211,7 @@ subplot(fakedata(100,10),n=4,palette=[:grays :blues :heat :lightrainbow],bg=[:or ```julia -subplot!(fakedata(100,10)) +subplot!(Plots.fakedata(100,10)) ``` ![](../img/qwt/qwt_example_18.png) @@ -235,4 +235,4 @@ annotate!([(5,y[5],text("this is #5",16,:red,:center)),(10,y[10],text("this is # - Supported values for marker: `:auto`, `:cross`, `:diamond`, `:dtriangle`, `:ellipse`, `:hexagon`, `:none`, `:rect`, `:star5`, `:star8`, `:utriangle`, `:xcross` - Is `subplot`/`subplot!` supported? Yes -(Automatically generated: 2015-10-18T00:40:24) \ No newline at end of file +(Automatically generated: 2015-10-26T14:02:19) \ No newline at end of file diff --git a/docs/readme_template.md b/docs/readme_template.md index ce188f9f..e8d2a274 100644 --- a/docs/readme_template.md +++ b/docs/readme_template.md @@ -4,7 +4,7 @@ [![Plots](http://pkg.julialang.org/badges/Plots_0.3.svg)](http://pkg.julialang.org/?pkg=Plots&ver=0.3) [![Plots](http://pkg.julialang.org/badges/Plots_0.4.svg)](http://pkg.julialang.org/?pkg=Plots&ver=0.4) -[![codecov.io](http://codecov.io/github/tbreloff/Plots.jl/coverage.svg?branch=master)](http://codecov.io/github/tbreloff/Plots.jl?branch=master) + #### Author: Thomas Breloff (@tbreloff) @@ -28,7 +28,6 @@ Please add wishlist items, bugs, or any other comments/questions to the issues l - [PyPlot.jl](docs/pyplot_examples.md) - [UnicodePlots.jl](docs/unicodeplots_examples.md) - [Qwt.jl](docs/qwt_examples.md) -- [Winston.jl](docs/winston_examples.md) Also check out the many [IJulia notebooks](http://nbviewer.ipython.org/github/tbreloff/Plots.jl/tree/master/examples/) with many examples. @@ -54,7 +53,6 @@ Pkg.add("Immerse") Pkg.add("PyPlot") Pkg.add("UnicodePlots") Pkg.clone("https://github.com/tbreloff/Qwt.jl.git") -Pkg.add("Winston") ``` ## Use @@ -282,7 +280,7 @@ Animations are created in 3 steps (see example #2): - [x] PyPlot.jl - [x] UnicodePlots.jl - [x] Qwt.jl -- [x] Winston.jl +- [x] Winston.jl (deprecated) - [ ] GLPlot.jl - [ ] Bokeh.jl - [ ] Vega.jl diff --git a/img/gadfly/gadfly_example_1.png b/img/gadfly/gadfly_example_1.png index e4444f66..8645d95d 100644 Binary files a/img/gadfly/gadfly_example_1.png and b/img/gadfly/gadfly_example_1.png differ diff --git a/img/gadfly/gadfly_example_10.png b/img/gadfly/gadfly_example_10.png index 6d63724d..e7138377 100644 Binary files a/img/gadfly/gadfly_example_10.png and b/img/gadfly/gadfly_example_10.png differ diff --git a/img/gadfly/gadfly_example_11.png b/img/gadfly/gadfly_example_11.png index 65147ef2..38bf6f96 100644 Binary files a/img/gadfly/gadfly_example_11.png and b/img/gadfly/gadfly_example_11.png differ diff --git a/img/gadfly/gadfly_example_12.png b/img/gadfly/gadfly_example_12.png index 16622421..44ea8310 100644 Binary files a/img/gadfly/gadfly_example_12.png and b/img/gadfly/gadfly_example_12.png differ diff --git a/img/gadfly/gadfly_example_13.png b/img/gadfly/gadfly_example_13.png index ccdc1d65..a3d1aecc 100644 Binary files a/img/gadfly/gadfly_example_13.png and b/img/gadfly/gadfly_example_13.png differ diff --git a/img/gadfly/gadfly_example_14.png b/img/gadfly/gadfly_example_14.png index fbb42c65..a3de7c92 100644 Binary files a/img/gadfly/gadfly_example_14.png and b/img/gadfly/gadfly_example_14.png differ diff --git a/img/gadfly/gadfly_example_15.png b/img/gadfly/gadfly_example_15.png index e01b0300..ea2cb739 100644 Binary files a/img/gadfly/gadfly_example_15.png and b/img/gadfly/gadfly_example_15.png differ diff --git a/img/gadfly/gadfly_example_16.png b/img/gadfly/gadfly_example_16.png index 521e2f19..09551adc 100644 Binary files a/img/gadfly/gadfly_example_16.png and b/img/gadfly/gadfly_example_16.png differ diff --git a/img/gadfly/gadfly_example_17.png b/img/gadfly/gadfly_example_17.png index 10681194..787e4ba7 100644 Binary files a/img/gadfly/gadfly_example_17.png and b/img/gadfly/gadfly_example_17.png differ diff --git a/img/gadfly/gadfly_example_18.png b/img/gadfly/gadfly_example_18.png index 54e49a22..445cb910 100644 Binary files a/img/gadfly/gadfly_example_18.png and b/img/gadfly/gadfly_example_18.png differ diff --git a/img/gadfly/gadfly_example_2.gif b/img/gadfly/gadfly_example_2.gif index 99f9368e..30919f43 100644 Binary files a/img/gadfly/gadfly_example_2.gif and b/img/gadfly/gadfly_example_2.gif differ diff --git a/img/gadfly/gadfly_example_20.png b/img/gadfly/gadfly_example_20.png index cf0d980a..bd5d5584 100644 Binary files a/img/gadfly/gadfly_example_20.png and b/img/gadfly/gadfly_example_20.png differ diff --git a/img/gadfly/gadfly_example_21.png b/img/gadfly/gadfly_example_21.png index 6586ac6d..e1f3116b 100644 Binary files a/img/gadfly/gadfly_example_21.png and b/img/gadfly/gadfly_example_21.png differ diff --git a/img/gadfly/gadfly_example_3.png b/img/gadfly/gadfly_example_3.png index 04fa2b41..03bb34db 100644 Binary files a/img/gadfly/gadfly_example_3.png and b/img/gadfly/gadfly_example_3.png differ diff --git a/img/gadfly/gadfly_example_4.png b/img/gadfly/gadfly_example_4.png index 1a77a000..e4ce6500 100644 Binary files a/img/gadfly/gadfly_example_4.png and b/img/gadfly/gadfly_example_4.png differ diff --git a/img/gadfly/gadfly_example_5.png b/img/gadfly/gadfly_example_5.png index 49465240..46436400 100644 Binary files a/img/gadfly/gadfly_example_5.png and b/img/gadfly/gadfly_example_5.png differ diff --git a/img/gadfly/gadfly_example_6.png b/img/gadfly/gadfly_example_6.png index 076acc53..6f7b93a8 100644 Binary files a/img/gadfly/gadfly_example_6.png and b/img/gadfly/gadfly_example_6.png differ diff --git a/img/gadfly/gadfly_example_7.png b/img/gadfly/gadfly_example_7.png index a7a43fdd..423b9e87 100644 Binary files a/img/gadfly/gadfly_example_7.png and b/img/gadfly/gadfly_example_7.png differ diff --git a/img/gadfly/gadfly_example_8.png b/img/gadfly/gadfly_example_8.png index 4ab2cfe0..3675b20d 100644 Binary files a/img/gadfly/gadfly_example_8.png and b/img/gadfly/gadfly_example_8.png differ diff --git a/img/gadfly/gadfly_example_9.png b/img/gadfly/gadfly_example_9.png index 69df0ce7..913db160 100644 Binary files a/img/gadfly/gadfly_example_9.png and b/img/gadfly/gadfly_example_9.png differ diff --git a/img/pyplot/pyplot_example_1.png b/img/pyplot/pyplot_example_1.png index a54948d8..44ea95a6 100644 Binary files a/img/pyplot/pyplot_example_1.png and b/img/pyplot/pyplot_example_1.png differ diff --git a/img/pyplot/pyplot_example_10.png b/img/pyplot/pyplot_example_10.png index 5f78f9bc..91755df7 100644 Binary files a/img/pyplot/pyplot_example_10.png and b/img/pyplot/pyplot_example_10.png differ diff --git a/img/pyplot/pyplot_example_11.png b/img/pyplot/pyplot_example_11.png index 6a29db86..7be76e57 100644 Binary files a/img/pyplot/pyplot_example_11.png and b/img/pyplot/pyplot_example_11.png differ diff --git a/img/pyplot/pyplot_example_12.png b/img/pyplot/pyplot_example_12.png index 317608ea..1c8a883a 100644 Binary files a/img/pyplot/pyplot_example_12.png and b/img/pyplot/pyplot_example_12.png differ diff --git a/img/pyplot/pyplot_example_13.png b/img/pyplot/pyplot_example_13.png index 22e0e5fb..dc102340 100644 Binary files a/img/pyplot/pyplot_example_13.png and b/img/pyplot/pyplot_example_13.png differ diff --git a/img/pyplot/pyplot_example_14.png b/img/pyplot/pyplot_example_14.png index bb8951e9..de4fdfda 100644 Binary files a/img/pyplot/pyplot_example_14.png and b/img/pyplot/pyplot_example_14.png differ diff --git a/img/pyplot/pyplot_example_15.png b/img/pyplot/pyplot_example_15.png index 0521a419..fc4a70bb 100644 Binary files a/img/pyplot/pyplot_example_15.png and b/img/pyplot/pyplot_example_15.png differ diff --git a/img/pyplot/pyplot_example_16.png b/img/pyplot/pyplot_example_16.png index bfa34308..cbb9c8c0 100644 Binary files a/img/pyplot/pyplot_example_16.png and b/img/pyplot/pyplot_example_16.png differ diff --git a/img/pyplot/pyplot_example_17.png b/img/pyplot/pyplot_example_17.png index af41fe94..60ba796f 100644 Binary files a/img/pyplot/pyplot_example_17.png and b/img/pyplot/pyplot_example_17.png differ diff --git a/img/pyplot/pyplot_example_18.png b/img/pyplot/pyplot_example_18.png index 8cee1298..f53c46e6 100644 Binary files a/img/pyplot/pyplot_example_18.png and b/img/pyplot/pyplot_example_18.png differ diff --git a/img/pyplot/pyplot_example_2.gif b/img/pyplot/pyplot_example_2.gif index d9a9606c..53ae8668 100644 Binary files a/img/pyplot/pyplot_example_2.gif and b/img/pyplot/pyplot_example_2.gif differ diff --git a/img/pyplot/pyplot_example_20.png b/img/pyplot/pyplot_example_20.png index dfe2d80b..4b527125 100644 Binary files a/img/pyplot/pyplot_example_20.png and b/img/pyplot/pyplot_example_20.png differ diff --git a/img/pyplot/pyplot_example_21.png b/img/pyplot/pyplot_example_21.png index 5a15c940..38bf082c 100644 Binary files a/img/pyplot/pyplot_example_21.png and b/img/pyplot/pyplot_example_21.png differ diff --git a/img/pyplot/pyplot_example_3.png b/img/pyplot/pyplot_example_3.png index dc6d9c0d..c4b0baf4 100644 Binary files a/img/pyplot/pyplot_example_3.png and b/img/pyplot/pyplot_example_3.png differ diff --git a/img/pyplot/pyplot_example_4.png b/img/pyplot/pyplot_example_4.png index 57af96f5..9db4b37d 100644 Binary files a/img/pyplot/pyplot_example_4.png and b/img/pyplot/pyplot_example_4.png differ diff --git a/img/pyplot/pyplot_example_5.png b/img/pyplot/pyplot_example_5.png index 5d6ea53a..53100881 100644 Binary files a/img/pyplot/pyplot_example_5.png and b/img/pyplot/pyplot_example_5.png differ diff --git a/img/pyplot/pyplot_example_6.png b/img/pyplot/pyplot_example_6.png index ab622f4d..b53c0b6f 100644 Binary files a/img/pyplot/pyplot_example_6.png and b/img/pyplot/pyplot_example_6.png differ diff --git a/img/pyplot/pyplot_example_7.png b/img/pyplot/pyplot_example_7.png index 4b8ee6d5..83c355a3 100644 Binary files a/img/pyplot/pyplot_example_7.png and b/img/pyplot/pyplot_example_7.png differ diff --git a/img/pyplot/pyplot_example_8.png b/img/pyplot/pyplot_example_8.png index 4adf0282..8f5cc784 100644 Binary files a/img/pyplot/pyplot_example_8.png and b/img/pyplot/pyplot_example_8.png differ diff --git a/img/pyplot/pyplot_example_9.png b/img/pyplot/pyplot_example_9.png index 1f636b54..38a07adc 100644 Binary files a/img/pyplot/pyplot_example_9.png and b/img/pyplot/pyplot_example_9.png differ diff --git a/img/qwt/qwt_example_1.png b/img/qwt/qwt_example_1.png index e671d85c..4ddab5b7 100644 Binary files a/img/qwt/qwt_example_1.png and b/img/qwt/qwt_example_1.png differ diff --git a/img/qwt/qwt_example_10.png b/img/qwt/qwt_example_10.png index 3cada0e5..6f24e417 100644 Binary files a/img/qwt/qwt_example_10.png and b/img/qwt/qwt_example_10.png differ diff --git a/img/qwt/qwt_example_11.png b/img/qwt/qwt_example_11.png index f7cfc2d2..78053ebc 100644 Binary files a/img/qwt/qwt_example_11.png and b/img/qwt/qwt_example_11.png differ diff --git a/img/qwt/qwt_example_12.png b/img/qwt/qwt_example_12.png index d84c3598..3b0ee04a 100644 Binary files a/img/qwt/qwt_example_12.png and b/img/qwt/qwt_example_12.png differ diff --git a/img/qwt/qwt_example_13.png b/img/qwt/qwt_example_13.png index 9b582ced..5c55b7f5 100644 Binary files a/img/qwt/qwt_example_13.png and b/img/qwt/qwt_example_13.png differ diff --git a/img/qwt/qwt_example_14.png b/img/qwt/qwt_example_14.png index f3fa8f73..9d001385 100644 Binary files a/img/qwt/qwt_example_14.png and b/img/qwt/qwt_example_14.png differ diff --git a/img/qwt/qwt_example_15.png b/img/qwt/qwt_example_15.png index 0c49a567..1d852fa6 100644 Binary files a/img/qwt/qwt_example_15.png and b/img/qwt/qwt_example_15.png differ diff --git a/img/qwt/qwt_example_16.png b/img/qwt/qwt_example_16.png index afdbbd99..dc33ba6c 100644 Binary files a/img/qwt/qwt_example_16.png and b/img/qwt/qwt_example_16.png differ diff --git a/img/qwt/qwt_example_17.png b/img/qwt/qwt_example_17.png index 61951995..20e7c5d4 100644 Binary files a/img/qwt/qwt_example_17.png and b/img/qwt/qwt_example_17.png differ diff --git a/img/qwt/qwt_example_18.png b/img/qwt/qwt_example_18.png index 773c4e92..74936669 100644 Binary files a/img/qwt/qwt_example_18.png and b/img/qwt/qwt_example_18.png differ diff --git a/img/qwt/qwt_example_2.gif b/img/qwt/qwt_example_2.gif index 168fc42d..956a413f 100644 Binary files a/img/qwt/qwt_example_2.gif and b/img/qwt/qwt_example_2.gif differ diff --git a/img/qwt/qwt_example_20.png b/img/qwt/qwt_example_20.png index 52c5fc55..df7048da 100644 Binary files a/img/qwt/qwt_example_20.png and b/img/qwt/qwt_example_20.png differ diff --git a/img/qwt/qwt_example_3.png b/img/qwt/qwt_example_3.png index c825d254..d091236a 100644 Binary files a/img/qwt/qwt_example_3.png and b/img/qwt/qwt_example_3.png differ diff --git a/img/qwt/qwt_example_4.png b/img/qwt/qwt_example_4.png index 05006146..57950de2 100644 Binary files a/img/qwt/qwt_example_4.png and b/img/qwt/qwt_example_4.png differ diff --git a/img/qwt/qwt_example_5.png b/img/qwt/qwt_example_5.png index 4a8bce9f..1601727f 100644 Binary files a/img/qwt/qwt_example_5.png and b/img/qwt/qwt_example_5.png differ diff --git a/img/qwt/qwt_example_6.png b/img/qwt/qwt_example_6.png index cdbb3190..d066e9b9 100644 Binary files a/img/qwt/qwt_example_6.png and b/img/qwt/qwt_example_6.png differ diff --git a/img/qwt/qwt_example_7.png b/img/qwt/qwt_example_7.png index 93f062d0..9131a860 100644 Binary files a/img/qwt/qwt_example_7.png and b/img/qwt/qwt_example_7.png differ diff --git a/img/qwt/qwt_example_8.png b/img/qwt/qwt_example_8.png index 447f0dbe..5f0dd674 100644 Binary files a/img/qwt/qwt_example_8.png and b/img/qwt/qwt_example_8.png differ diff --git a/img/qwt/qwt_example_9.png b/img/qwt/qwt_example_9.png index 3adb050f..a54e2bf4 100644 Binary files a/img/qwt/qwt_example_9.png and b/img/qwt/qwt_example_9.png differ diff --git a/img/supported/Plots.supportGraphArgs.png b/img/supported/Plots.supportGraphArgs.png index a19de0ca..1224720d 100644 Binary files a/img/supported/Plots.supportGraphArgs.png and b/img/supported/Plots.supportGraphArgs.png differ diff --git a/img/supported/Plots.supportGraphAxes.png b/img/supported/Plots.supportGraphAxes.png index 0ef203b5..bc6d93c6 100644 Binary files a/img/supported/Plots.supportGraphAxes.png and b/img/supported/Plots.supportGraphAxes.png differ diff --git a/img/supported/Plots.supportGraphMarkers.png b/img/supported/Plots.supportGraphMarkers.png index 33a965e0..02b73ff4 100644 Binary files a/img/supported/Plots.supportGraphMarkers.png and b/img/supported/Plots.supportGraphMarkers.png differ diff --git a/img/supported/Plots.supportGraphScales.png b/img/supported/Plots.supportGraphScales.png index 40b305ec..a094fc45 100644 Binary files a/img/supported/Plots.supportGraphScales.png and b/img/supported/Plots.supportGraphScales.png differ diff --git a/img/supported/Plots.supportGraphStyles.png b/img/supported/Plots.supportGraphStyles.png index b93aaa40..505648b2 100644 Binary files a/img/supported/Plots.supportGraphStyles.png and b/img/supported/Plots.supportGraphStyles.png differ diff --git a/img/supported/Plots.supportGraphTypes.png b/img/supported/Plots.supportGraphTypes.png index 39ddf77a..2a3c3e56 100644 Binary files a/img/supported/Plots.supportGraphTypes.png and b/img/supported/Plots.supportGraphTypes.png differ diff --git a/src/args.jl b/src/args.jl index cb18f451..de5cf4c3 100644 --- a/src/args.jl +++ b/src/args.jl @@ -583,11 +583,11 @@ getArgValue(v, idx) = v # given an argument key (k), we want to extract the argument value for this index. # if nothing is set (or container is empty), return the default. -function setDictValue(d::Dict, k::Symbol, idx::Int, defaults::Dict) - if haskey(d, k) && !(typeof(d[k]) <: @compat(Union{AbstractArray, Tuple}) && isempty(d[k])) - d[k] = getArgValue(d[k], idx) +function setDictValue(d_in::Dict, d_out::Dict, k::Symbol, idx::Int, defaults::Dict) + if haskey(d_in, k) && !(typeof(d_in[k]) <: @compat(Union{AbstractArray, Tuple}) && isempty(d_in[k])) + d_out[k] = getArgValue(d_in[k], idx) else - d[k] = defaults[k] + d_out[k] = defaults[k] end end @@ -595,11 +595,12 @@ end # build the argument dictionary for the plot function getPlotArgs(pkg::PlottingPackage, kw, idx::Int) - d = Dict(kw) + kwdict = Dict(kw) + d = Dict() # add defaults? for k in keys(_plotDefaults) - setDictValue(d, k, idx, _plotDefaults) + setDictValue(kwdict, d, k, idx, _plotDefaults) end for k in (:xscale, :yscale) @@ -622,11 +623,12 @@ end # build the argument dictionary for a series function getSeriesArgs(pkg::PlottingPackage, initargs::Dict, kw, commandIndex::Int, plotIndex::Int, globalIndex::Int) # TODO, pass in initargs, not plt - d = Dict(kw) + kwdict = Dict(kw) + d = Dict() # add defaults? for k in keys(_seriesDefaults) - setDictValue(d, k, commandIndex, _seriesDefaults) + setDictValue(kwdict, d, k, commandIndex, _seriesDefaults) end if haskey(_typeAliases, d[:linetype]) diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index a8fb6b98..d6de810b 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -84,7 +84,6 @@ getfig(wrap::@compat(Union{PyPlotAxisWrapper,PyPlotFigWrapper})) = wrap.fig # get a reference to the correct axis function getLeftAxis(wrap::PyPlotFigWrapper) - # @show wrap.fig.o[:axes] axes = wrap.fig.o[:axes] if isempty(axes) return wrap.fig.o[:add_subplot](111) @@ -226,7 +225,6 @@ function plot!(pkg::PyPlotPackage, plt::Plot; kw...) extraargs[:linestyle] = getPyPlotLineStyle(lt, d[:linestyle]) extraargs[:marker] = getPyPlotMarker(d[:markershape]) - dump(extraargs[:marker]) if lt == :scatter extraargs[:s] = d[:markersize]^2 diff --git a/src/backends/qwt.jl b/src/backends/qwt.jl index 3114b218..dd92d0b1 100644 --- a/src/backends/qwt.jl +++ b/src/backends/qwt.jl @@ -73,6 +73,7 @@ end function plot(pkg::QwtPackage; kw...) d = Dict(kw) fixcolors(d) + dumpdict(d,"\n\n!!! plot") o = Qwt.plot(zeros(0,0); d..., show=false) plt = Plot(o, pkg, 0, d, Dict[]) plt @@ -81,6 +82,7 @@ end function plot!(::QwtPackage, plt::Plot; kw...) d = adjustQwtKeywords(plt, false; kw...) fixcolors(d) + dumpdict(d,"\n\n!!! plot!") Qwt.oplot(plt.o; d...) push!(plt.seriesargs, d) plt diff --git a/src/plotter.jl b/src/plotter.jl index 8baececb..0481b42f 100644 --- a/src/plotter.jl +++ b/src/plotter.jl @@ -49,7 +49,7 @@ subplot!(pkg::PlottingPackage, subplt::Subplot; kw...) = error("subplot!($pkg, s # --------------------------------------------------------- -const BACKENDS = [:qwt, :gadfly, :unicodeplots, :pyplot, :immerse, :winston] +const BACKENDS = [:qwt, :gadfly, :unicodeplots, :pyplot, :immerse] const INITIALIZED_BACKENDS = Set{Symbol}() backends() = BACKENDS @@ -184,6 +184,7 @@ function backend() end elseif currentBackendSymbol == :winston + warn("Winston support is deprecated and broken. Try another backend: $BACKENDS") try @eval ENV["WINSTON_OUTPUT"] = "gtk" @eval import Winston, Gtk