Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] volume broken #4689

Open
BeastyBlacksmith opened this issue Mar 13, 2023 · 3 comments
Open

[BUG] volume broken #4689

BeastyBlacksmith opened this issue Mar 13, 2023 · 3 comments

Comments

@BeastyBlacksmith
Copy link
Member

BeastyBlacksmith commented Mar 13, 2023

Details

X =  Y =  Z = range(-8, stop=8, length=40)

values = sin.(X .* Y .* Z) ./ (X .* Y .* Z)

plot(values, seriestype=:volume)

only produces an empty box.

In addition

plot(values, X, Y, Z, seriestype=:volume)
plot(X, Y, Z, values, seriestype=:volume)

result in a stackoverflow.

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: v1.38.7
Backend version (]st -m <backend(s)>): v0.71.7
Output of versioninfo():

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, tigerlake)
  Threads: 1 on 8 virtual cores
Environment:
  JULIA_NUM_THREADS = 
  JULIA_EDITOR = code
@t-bltg
Copy link
Member

t-bltg commented Mar 13, 2023

Isn't your first line meant to be X = Y = Z = range(-8, stop=8, length=40) instead ?

The second and third examples produce a different error ERROR: Couldn't process recipe args:, but I get a blank plot for the first example as well.

@BeastyBlacksmith
Copy link
Member Author

Isn't your first line meant to be X = Y = Z = range(-8, stop=8, length=40) instead ?

You are right

@photor
Copy link

photor commented Feb 1, 2025

I have the same problem. See, for example:
https://discourse.julialang.org/t/3d-volume-plot-is-blank-with-plots-jl-gr-jl/125444
Please fix it. Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants