We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae2ddc8 commit 6266ff8Copy full SHA for 6266ff8
1 file changed
src/backends/pgfplotsx.jl
@@ -233,6 +233,12 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend})
233
push!(axis_opt, "colorbar" => "false")
234
end
235
if RecipesPipeline.is3d(sp)
236
+ ar = sp[:aspect_ratio]
237
+ if ar !== :auto && ar !== :equal
238
+ push!(axis_opt, "unit vector ratio" => join(ar, " "))
239
+ else
240
+ push!(axis_opt, "unit vector ratio" => 1)
241
+ end
242
azim, elev = sp[:camera]
243
push!(axis_opt, "view" => (azim, elev))
244
0 commit comments