diff --git a/src/backends.jl b/src/backends.jl index 87f4dda8..1d4b3482 100644 --- a/src/backends.jl +++ b/src/backends.jl @@ -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] diff --git a/src/backends/pgfplotsx.jl b/src/backends/pgfplotsx.jl index 616c2756..af67917b 100644 --- a/src/backends/pgfplotsx.jl +++ b/src/backends/pgfplotsx.jl @@ -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] diff --git a/test/test_pgfplotsx.jl b/test/test_pgfplotsx.jl index 35a1b05f..5af30606 100644 --- a/test/test_pgfplotsx.jl +++ b/test/test_pgfplotsx.jl @@ -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