working on pgfplots
This commit is contained in:
parent
a388ec71e3
commit
ed25e554e1
@ -1,69 +1,51 @@
|
|||||||
# https://github.com/sisl/PGFPlots.jl
|
# https://github.com/sisl/PGFPlots.jl
|
||||||
|
|
||||||
supportedArgs(::PGFPlotsBackend) = [
|
supportedArgs(::PGFPlotsBackend) = [
|
||||||
# :annotation,
|
# :annotations,
|
||||||
:aspect_ratio,
|
:background_color, :foreground_color,
|
||||||
# :axis,
|
:color_palette,
|
||||||
:background_color,
|
# :background_color_legend,
|
||||||
# :color_palette,
|
:background_color_inside,
|
||||||
# :fillrange,
|
# :background_color_outside,
|
||||||
:fillcolor,
|
# :foreground_color_legend, :foreground_color_grid, :foreground_color_axis,
|
||||||
:fillalpha,
|
# :foreground_color_text, :foreground_color_border,
|
||||||
# :foreground_color,
|
:group,
|
||||||
# :group,
|
:label,
|
||||||
:label,
|
:seriestype,
|
||||||
# :layout,
|
:seriescolor, :seriesalpha,
|
||||||
:legend,
|
:linecolor, :linestyle, :linewidth, :linealpha,
|
||||||
:seriescolor, :seriesalpha,
|
:markershape, :markercolor, :markersize, :markeralpha,
|
||||||
:linecolor,
|
:markerstrokewidth, :markerstrokecolor, :markerstrokealpha,
|
||||||
:linestyle,
|
:fillrange, :fillcolor, :fillalpha,
|
||||||
:seriestype,
|
:bins,
|
||||||
:linewidth,
|
# :bar_width, :bar_edges,
|
||||||
:linealpha,
|
# :n, :nc, :nr,
|
||||||
:markershape,
|
:layout,
|
||||||
:markercolor,
|
|
||||||
:markersize,
|
|
||||||
:markeralpha,
|
|
||||||
:markerstrokewidth,
|
|
||||||
:markerstrokecolor,
|
|
||||||
:markerstrokestyle,
|
|
||||||
# :n,
|
|
||||||
# :bins,
|
|
||||||
# :nc,
|
|
||||||
# :nr,
|
|
||||||
# :pos,
|
|
||||||
# :smooth,
|
# :smooth,
|
||||||
# :show,
|
:title,
|
||||||
:size,
|
|
||||||
:title,
|
|
||||||
# :window_title,
|
# :window_title,
|
||||||
:x,
|
:show, :size,
|
||||||
:xguide,
|
:x, :xguide, :xlims, :xticks, :xscale, :xflip, :xrotation,
|
||||||
:xlims,
|
:y, :yguide, :ylims, :yticks, :yscale, :yflip, :yrotation,
|
||||||
# :xticks,
|
:z, :zguide, :zlims, :zticks, :zscale, :zflip, :zrotation,
|
||||||
:y,
|
:tickfont, :guidefont, :legendfont,
|
||||||
:yguide,
|
:grid, :legend,
|
||||||
:ylims,
|
# :colorbar,
|
||||||
# :yrightlabel,
|
# :marker_z, :levels,
|
||||||
# :yticks,
|
# :xerror, :yerror,
|
||||||
:xscale,
|
# :ribbon, :quiver, :arrow,
|
||||||
:yscale,
|
# :orientation,
|
||||||
:xflip,
|
# :overwrite_figure,
|
||||||
:yflip,
|
# :polar,
|
||||||
:z,
|
# :normalize, :weights, :contours,
|
||||||
:zscale,
|
:aspect_ratio,
|
||||||
# :tickfont,
|
# :match_dimensions,
|
||||||
# :guidefont,
|
|
||||||
# :legendfont,
|
|
||||||
:grid,
|
|
||||||
# :surface
|
|
||||||
# :levels,
|
|
||||||
]
|
]
|
||||||
supportedAxes(::PGFPlotsBackend) = [:auto, :left]
|
supportedAxes(::PGFPlotsBackend) = [:auto, :left]
|
||||||
supportedTypes(::PGFPlotsBackend) = [:path, :path3d, :scatter, :line, :steppre, :stepmid, :steppost, :hist, :bar, :hist2d, :sticks, :ysticks, :xsticks, :contour] # :hexbin, :hline, :vline,]
|
supportedTypes(::PGFPlotsBackend) = [:path, :path3d, :scatter, :steppre, :stepmid, :steppost, :hist2d, :ysticks, :xsticks, :contour]
|
||||||
supportedStyles(::PGFPlotsBackend) = [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot]
|
supportedStyles(::PGFPlotsBackend) = [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot]
|
||||||
supportedMarkers(::PGFPlotsBackend) = [:none, :auto, :ellipse, :rect, :diamond, :utriangle, :dtriangle, :cross, :xcross, :star5, :pentagon] #vcat(_allMarkers, Shape)
|
supportedMarkers(::PGFPlotsBackend) = [:none, :auto, :ellipse, :rect, :diamond, :utriangle, :dtriangle, :cross, :xcross, :star5, :pentagon] #vcat(_allMarkers, Shape)
|
||||||
supportedScales(::PGFPlotsBackend) = [:identity, :log, :ln, :log2, :log10] # :asinh, :sqrt]
|
supportedScales(::PGFPlotsBackend) = [:identity, :ln, :log2, :log10] # :asinh, :sqrt]
|
||||||
subplotSupported(::PGFPlotsBackend) = false
|
subplotSupported(::PGFPlotsBackend) = false
|
||||||
|
|
||||||
|
|
||||||
@ -263,6 +245,7 @@ function pgf_series(sp::Subplot, series::Series)
|
|||||||
|
|
||||||
push!(style, pgf_linestyle(d))
|
push!(style, pgf_linestyle(d))
|
||||||
push!(style, pgf_marker(d))
|
push!(style, pgf_marker(d))
|
||||||
|
|
||||||
if d[:fillrange] != nothing
|
if d[:fillrange] != nothing
|
||||||
push!(style, pgf_fillstyle(d))
|
push!(style, pgf_fillstyle(d))
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user