Closed juliohm closed 6 years ago
Only GLVIsualize, I think. At least PlotlyJS can do volumes natively, though.
Thank you @mkborregaard, GLVisualize recognized it, however the plot is not looking very nice.
PlotlyJS also supports it? I will rename the issue accordingly...
however the plot is not looking very nice.
What's the issue?
I don't know if the issue is on my side, but I was expecting to see more color transitions in these cubes:
I am still working heavily on the code, so it might as well be a bug on my package. The script to reproduce (requires GeoStats.jl master):
using GeoStats
geodata = GeoDataFrame(DataFrames.DataFrame(
x=[25.,50.,75.],
y=[25.,75.,50.],
z=[10.,20.,30.],
value=[1.,0.,1.],
value2=[2.,3.,4]), [:x,:y,:z])
domain = RegularGrid{Float64}(100,100,30)
problem = EstimationProblem(geodata, domain, [:value])
solver = Kriging(
:value=>KrigParam(variogram=GaussianVariogram(range=20.))
)
solution = solve(problem, solver)
using Plots; glvisualize()
plot(solution, size=(1000,500))
Nevermind, I changed the range of the variogram model to a larger value and it starts to show more colors. Is there any way to slice or interact with the plot using the glvisualize() backend?
If you're in the REPL you should get an interactive window - Juno just displays a static image.
I'm running it in Jupyter, interactivity should work there as well?
On Aug 17, 2017 1:08 AM, "Michael Krabbe Borregaard" < notifications@github.com> wrote:
If you're in the REPL you should get an interactive window - Juno just displays a static image.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JuliaPlots/Plots.jl/issues/1016#issuecomment-322999677, or mute the thread https://github.com/notifications/unsubscribe-auth/ADMLbZqRawsN4nqgOuqqOdFZSItHpN3fks5sY_UCgaJpZM4O5zTD .
Not really. But maybe soon, now that @shashi started helping me out: https://github.com/JuliaLang/IJulia.jl/issues/550
Thanks for your work @SimonDanisch, that would be awesome.
I am closing this one as it is not priority. Looking forward to a solution with Makie.jl :)
I tried with GR, PyPlot and PlotlyJS, all failed... Also tried
:contour3d
but it seems to be pointing to:volume
?