qwt fixes
This commit is contained in:
parent
2649d97d69
commit
c9df244333
@ -6,7 +6,7 @@ immutable QwtPackage <: PlottingPackage end
|
|||||||
export qwt!
|
export qwt!
|
||||||
qwt!() = plotter!(:qwt)
|
qwt!() = plotter!(:qwt)
|
||||||
|
|
||||||
supportedTypes(::QwtPackage) = [:none, :line, :path, :step, :stepinverted, :sticks, :scatter, :heatmap, :hexbin, :hist, :bar]
|
supportedTypes(::QwtPackage) = [:none, :line, :path, :steppre, :steppost, :sticks, :scatter, :heatmap, :hexbin, :hist, :bar]
|
||||||
|
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
|
|
||||||
@ -14,6 +14,8 @@ const _qwtAliases = Dict(
|
|||||||
:nbins => :heatmap_n,
|
:nbins => :heatmap_n,
|
||||||
:hexbin => :heatmap,
|
:hexbin => :heatmap,
|
||||||
:path => :line,
|
:path => :line,
|
||||||
|
:steppost => :step,
|
||||||
|
:steppre => :stepinverted,
|
||||||
)
|
)
|
||||||
|
|
||||||
function replaceLinetypeAlias(d)
|
function replaceLinetypeAlias(d)
|
||||||
@ -58,7 +60,7 @@ end
|
|||||||
|
|
||||||
function plot!(::QwtPackage, plt::Plot; kw...)
|
function plot!(::QwtPackage, plt::Plot; kw...)
|
||||||
d = adjustQwtKeywords(false; kw...)
|
d = adjustQwtKeywords(false; kw...)
|
||||||
@show d
|
# @show d
|
||||||
Qwt.oplot(plt.o; d...)
|
Qwt.oplot(plt.o; d...)
|
||||||
push!(plt.seriesargs, d)
|
push!(plt.seriesargs, d)
|
||||||
plt
|
plt
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user