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
ϕs =range(-π, π, length =50)
θs =range(0, π, length =25)
θqs =range(1, π -1, length =25)
x =vec([sin(θ) *cos(ϕ) for (ϕ, θ) = Iterators.product(ϕs, θs)])
y =vec([sin(θ) *sin(ϕ) for (ϕ, θ) = Iterators.product(ϕs, θs)])
z =vec([cos(θ) for (ϕ, θ) = Iterators.product(ϕs, θs)])
u =0.1*vec([sin(θ) *cos(ϕ) for (ϕ, θ) = Iterators.product(ϕs, θqs)])
v =0.1*vec([sin(θ) *sin(ϕ) for (ϕ, θ) = Iterators.product(ϕs, θqs)])
w =0.1*vec([cos(θ) for (ϕ, θ) = Iterators.product(ϕs, θqs)])
quiver(x, y, z, quiver = (u, v, w))
GR: camera only works in [1-90]
I cannot look at plot from behind. poor example (looks same from all sides), but quite common to look at surfaces which need to be looked at from a certain angle.
julia> quiver(x, y, z, quiver = (u, v, w), camera = (80,10))
julia> quiver(x, y, z, quiver = (u, v, w), camera = (130,10))
picture does not change. same result for camera = (-10,10).
BeastyBlacksmith
changed the title
camera keyword not working on pgfplots (and not properly on GR)
camera keyword not working on pgfplotsx (and not properly on GR)
Jun 4, 2021
Details
GR: camera only works in [1-90]
I cannot look at plot from behind. poor example (looks same from all sides), but quite common to look at surfaces which need to be looked at from a certain angle.
picture does not change. same result for
camera = (-10,10)
.PGFPlotsX
camera
does not worksame image. also for negative values.
Backends
This bug occurs on ( insert
x
below )Versions
Plots.jl version:
Backend version (
]st -m
):Output of
versioninfo()
:julia> versioninfo()
Julia Version 1.6.0
Commit f9720dc2eb (2021-03-24 12:55 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin19.6.0)
CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, haswell)
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS =
The text was updated successfully, but these errors were encountered: