extra styles for 3dTypes
This commit is contained in:
parent
04e5ff7eba
commit
5482cfac3f
@ -705,13 +705,12 @@ const _pgfplotsx_attr = merge_with_base_supported([
|
|||||||
:camera,
|
:camera,
|
||||||
:contour_labels,
|
:contour_labels,
|
||||||
])
|
])
|
||||||
# const _pgfplotsx_seriestype = [
|
const _pgfplotsx_seriestype =
|
||||||
# :path, :scatter, :straightline,
|
[:path, :scatter, :straightline,
|
||||||
# :heatmap, :pie, :image,
|
:path3d, :scatter3d, :surface, :wireframe, :volume,
|
||||||
# :contour, :path3d, :scatter3d, :surface, :wireframe, :volume,
|
:heatmap, :contour, :histogram2d,
|
||||||
# :shape
|
:shape,
|
||||||
# ]
|
:steppre, :stepmid, :steppost, :ysticks, :xsticks]
|
||||||
const _pgfplotsx_seriestype = [:path, :path3d, :scatter, :steppre, :heatmap, :stepmid, :steppost, :histogram2d, :ysticks, :xsticks, :contour, :shape, :straightline,]
|
|
||||||
const _pgfplotsx_style = [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot]
|
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_marker = [:none, :auto, :circle, :rect, :diamond, :utriangle, :dtriangle, :ltriangle, :rtriangle, :cross, :xcross, :star5, :pentagon, :hline, :vline, Shape]
|
||||||
const _pgfplotsx_scale = [:identity, :ln, :log2, :log10]
|
const _pgfplotsx_scale = [:identity, :ln, :log2, :log10]
|
||||||
|
|||||||
@ -316,7 +316,11 @@ const _pgfx_series_extrastyle = KW(
|
|||||||
:ysticks => "ycomb",
|
:ysticks => "ycomb",
|
||||||
:xsticks => "xcomb",
|
:xsticks => "xcomb",
|
||||||
:scatter => "only marks",
|
: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]
|
const _pgfx_framestyles = [:box, :axes, :origin, :zerolines, :grid, :none]
|
||||||
|
|||||||
@ -124,5 +124,6 @@ end
|
|||||||
u = ones(length(x))
|
u = ones(length(x))
|
||||||
v = cos.(x)
|
v = cos.(x)
|
||||||
plot( x, y, quiver = (u, v), arrow = true )
|
plot( x, y, quiver = (u, v), arrow = true )
|
||||||
|
# TODO: could adjust limits to fit arrows if too long, but how?
|
||||||
end # testset
|
end # testset
|
||||||
end # testset
|
end # testset
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user