extra styles for 3dTypes

This commit is contained in:
Simon Christ 2019-11-22 00:45:14 +01:00
parent 04e5ff7eba
commit 5482cfac3f
3 changed files with 12 additions and 8 deletions

View File

@ -705,13 +705,12 @@ const _pgfplotsx_attr = merge_with_base_supported([
:camera,
:contour_labels,
])
# const _pgfplotsx_seriestype = [
# :path, :scatter, :straightline,
# :heatmap, :pie, :image,
# :contour, :path3d, :scatter3d, :surface, :wireframe, :volume,
# :shape
# ]
const _pgfplotsx_seriestype = [:path, :path3d, :scatter, :steppre, :heatmap, :stepmid, :steppost, :histogram2d, :ysticks, :xsticks, :contour, :shape, :straightline,]
const _pgfplotsx_seriestype =
[:path, :scatter, :straightline,
:path3d, :scatter3d, :surface, :wireframe, :volume,
:heatmap, :contour, :histogram2d,
:shape,
:steppre, :stepmid, :steppost, :ysticks, :xsticks]
const _pgfplotsx_style = [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot]
const _pgfplotsx_marker = [:none, :auto, :circle, :rect, :diamond, :utriangle, :dtriangle, :ltriangle, :rtriangle, :cross, :xcross, :star5, :pentagon, :hline, :vline, Shape]
const _pgfplotsx_scale = [:identity, :ln, :log2, :log10]

View File

@ -316,7 +316,11 @@ const _pgfx_series_extrastyle = KW(
:ysticks => "ycomb",
:xsticks => "xcomb",
:scatter => "only marks",
:shape => "area legends"
:shape => "area legends",
:scatter3D => "only marks"
:surface => "surf",
:wireframe => "mesh",
:volume => "patch"
)
const _pgfx_framestyles = [:box, :axes, :origin, :zerolines, :grid, :none]

View File

@ -124,5 +124,6 @@ end
u = ones(length(x))
v = cos.(x)
plot( x, y, quiver = (u, v), arrow = true )
# TODO: could adjust limits to fit arrows if too long, but how?
end # testset
end # testset