-
Notifications
You must be signed in to change notification settings - Fork 6
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
Use Makie for 3D barplot #3
Comments
|
ok, actually doesn't look that shit when using using CairoMakie
CairoMakie.activate!(type = "SVG")
begin
N = 100
δ = 0.01
cs = repeat(1:5, N÷5)
heights = rand(N) * 200
meshscatter(
Point3f.(rand(N), rand(N), 0.00001rand(N));
color = cs,
markersize = Vec3f.(δ, δ, heights),
colormap = :Spectral_7,
marker = Rect3f(Vec3f(0), Vec3f(1)),
figure = (resolution=(700,600),),
axis = (
type = Axis3, perspectiveness = 0.5, azimuth = 2.6, elevation=0.5,
xlabel = "ϕ", ylabel = "η", zlabel = "kt",
limits = (nothing, nothing, nothing, nothing, 0, 200)
),
shading=false
)
end |
This is awesome, mate! This looks like exactly what we need. Would you like to make a pull request or should I just use your code? |
Just go ahead to use it for now to clean up the dependency, we can worry about usability and beautifying it later |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
here's a dummy example:
It should also work with GLMakie.jl, but 3D might be a bit broken with CairoMakie...
The text was updated successfully, but these errors were encountered: