Tag: makie

How to set xlabel and ylabel in makie recipe

using Makie function set_labels(scene::SceneLike, xlabel::AbstractString, ylabel::AbstractString) xaxis!(scene, xlabel) yaxis!(scene, ylabel) end scene = Scene() scatter!(scene, rand(10), rand(10)) set_labels(scene, “X”, “Y”) display(scene) Solution 1: Using the set_labels function To set the xlabel and

Read More »

Labels in pie charts in makie

using Makie function pie_chart_with_labels(labels, values) fig = Figure() ax = Axis(fig[1, 1]) pie!(ax, values, labels=labels) fig end labels = [“A”, “B”, “C”, “D”] values = [10, 20, 30, 40] fig = pie_chart_with_labels(labels,

Read More »

How to annotate on heatmaps in makie jl

Heatmaps are a popular way to visualize data in a matrix format. In Julia, the Makie.jl package provides a powerful tool for creating interactive visualizations, including heatmaps. One common task when working

Read More »

Drawing 3d polygons in makie

When it comes to drawing 3D polygons in Julia using the Makie package, there are several approaches you can take. In this article, we will explore three different methods to achieve this

Read More »

Plot ellipse in makie

When it comes to plotting an ellipse in Julia using the Makie package, there are several approaches you can take. In this article, we will explore three different methods to achieve this

Read More »

Makie jl how to plot a 3d sphere

When it comes to plotting a 3D sphere in Julia using the Makie.jl package, there are several approaches you can take. In this article, we will explore three different methods to achieve

Read More »