3D view
This commit is contained in:
parent
4dd4d5eb5f
commit
5694ce53f6
@ -115,6 +115,10 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend})
|
||||
"point meta min" => get_clims(sp)[1]
|
||||
)
|
||||
)
|
||||
if is3d(sp)
|
||||
azim, elev = sp[:camera]
|
||||
push!( axis_opt, "view" => (azim, elev) )
|
||||
end
|
||||
axisf = if sp[:projection] == :polar
|
||||
# TODO: this errors for some reason
|
||||
# push!(axis_opt, "xmin" => 90)
|
||||
|
||||
@ -86,8 +86,6 @@ end
|
||||
@test Plots.pgfx_axes(pgfx_plot.o)[1]["colorbar"] === nothing
|
||||
@test Plots.pgfx_axes(pgfx_plot.o)[1]["colormap name"] == "plots1"
|
||||
end
|
||||
# TODO: wrong colors
|
||||
# TODO: lines instead of patches
|
||||
end # testset
|
||||
@testset "Contours" begin
|
||||
x = 1:0.5:20
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user