You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Plots
using SplitApplyCombine
x = y =0:0.1:10
xyz =invert([[x, y, sin(x) *cos(y)] for x in x for y in y][:])
savefig(Plots.surface(xyz[1], xyz[2], xyz[3]), "ok.pdf")
savefig(Plots.contour(xyz[1], xyz[2], xyz[3]), "error.pdf")
The comments in my GR.jl suggest that contour should succeed while surface should fail here. But it's the opposite.
contour
`x` :
A list containing the X coordinates
`y` :
A list containing the Y coordinates
`h` :
A list containing the Z coordinate for the height values
surface
`x` :
A list containing the X coordinates
`y` :
A list containing the Y coordinates
`z` :
A list of length `len(x)` * `len(y)` or an appropriately dimensioned
array containing the Z coordinates
Backends
This bug occurs on ( insert x below )
Backend
yes
no
untested
gr (default)
x
pythonplot
x
plotlyjs
x
pgfplotsx
x
unicodeplots
x
inspectdr
x
gaston
x
Versions
Plots.jl version:
Backend version (]st -m <backend(s)>):
Output of versioninfo():
[91a5bcdd] Plots v1.40.9
julia> versioninfo()
Julia Version 1.11.3
Commit d63adeda50d (2025-01-21 19:42 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 16 × 13th Gen Intel(R) Core(TM) i7-13620H
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, goldmont)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
The text was updated successfully, but these errors were encountered:
Details
The comments in my GR.jl suggest that
contour
should succeed whilesurface
should fail here. But it's the opposite.contour
surface
Backends
This bug occurs on ( insert
x
below )Versions
Plots.jl version:
Backend version (
]st -m <backend(s)>
):Output of
versioninfo()
:The text was updated successfully, but these errors were encountered: