diff --git a/src/backends/gaston.jl b/src/backends/gaston.jl index 28561f8a..d1e447c0 100644 --- a/src/backends/gaston.jl +++ b/src/backends/gaston.jl @@ -233,23 +233,6 @@ function gaston_add_series(plt::Plot{GastonBackend}, series::Series) nothing end -function gaston_hvline!(sp, series, curveconf, pt, dt, lw, lc, command) - if pt == :hline - lo, hi = axis_limits(sp, :x) - for y ∈ series[:y] - sp.o.axesconf *= "\nset arrow from $lo,$y to $hi,$y nohead lc $lc lw $lw dt $dt" - end - elseif pt == :vline - lo, hi = axis_limits(sp, :y) - for x ∈ series[:x] - sp.o.axesconf *= "\nset arrow from $x,$lo to $x,$hi nohead lc $lc lw $lw dt $dt" - end - else - push!(curveconf, command) - end - nothing -end - function gaston_seriesconf!(sp::Subplot{GastonBackend}, series::Series, i::Int, add_to_legend::Bool) #= gnuplot abbreviations (see gnuplot/src/set.c) @@ -278,14 +261,14 @@ function gaston_seriesconf!(sp::Subplot{GastonBackend}, series::Series, i::Int, if st ∈ (:scatter, :scatter3d) lc, dt, lw = gaston_lc_ls_lw(series, clims, i) pt, ps, mc = gaston_mk_ms_mc(series, clims, i) - gaston_hvline!(sp, series, curveconf, pt, dt, lw, mc, "w points pt $pt ps $ps lc $mc") + push!(curveconf, "w points pt $pt ps $ps lc $mc") elseif st ∈ (:path, :straightline, :path3d) lc, dt, lw = gaston_lc_ls_lw(series, clims, i) if series[:markershape] == :none # simplepath push!(curveconf, "w lines lc $lc dt $dt lw $lw") else pt, ps, mc = gaston_mk_ms_mc(series, clims, i) - gaston_hvline!(sp, series, curveconf, pt, dt, lw, mc, "w lp lc $mc dt $dt lw $lw pt $pt ps $ps") + push!(curveconf, "w lp lc $mc dt $dt lw $lw pt $pt ps $ps") end elseif st == :shape fc = gaston_color(get_fillcolor(series, i), get_fillalpha(series, i)) @@ -504,7 +487,6 @@ function gaston_marker(marker, alpha) marker == :dtriangle && return filled ? 11 : 10 marker == :diamond && return filled ? 13 : 12 marker == :pentagon && return filled ? 15 : 14 - marker ∈ (:vline, :hline) && return marker @warn "Gaston: unsupported marker $marker" return 1