change z buffer for surface plots

This commit is contained in:
Simon Christ 2020-07-03 14:45:42 +02:00
parent fb5307ace6
commit eeacae91f0

View File

@ -558,6 +558,7 @@ function pgfx_series_coordinates!(st_val::Val{:surface}, segment_opt, opt, args)
"surf" => nothing, "surf" => nothing,
"mesh/rows" => length(opt[:x]), "mesh/rows" => length(opt[:x]),
"mesh/cols" => length(opt[:y]), "mesh/cols" => length(opt[:y]),
"z buffer" => "sort",
) )
return PGFPlotsX.Coordinates(args...) return PGFPlotsX.Coordinates(args...)
end end