Hotfix 1-based indexing for mesh3d in pgfplotsx
This commit is contained in:
parent
2a0aa0ff96
commit
2b4e74cc6e
@ -521,7 +521,7 @@ function pgfx_add_series!(::Val{:mesh3d}, axis, series_opt, series, series_func,
|
||||
elseif typeof(opt[:connections]) <: AbstractVector{NTuple{3, Int}}
|
||||
# 1-based indexing
|
||||
ptable = join(
|
||||
[string(i, " ", j, " ", k, "\\\\") for (i, j, k) in opt[:connections]],
|
||||
[string(i-1, " ", j-1, " ", k-1, "\\\\") for (i, j, k) in opt[:connections]],
|
||||
"\n ",
|
||||
)
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user