Skip to content

Commit

Permalink
expand mwe_04.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Mar 28, 2024
1 parent e43b074 commit 2c4eb42
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions mwes/mwe_04.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,17 @@ function show_stats(stats::Stats)
display(GLMakie.Screen(), fig)
nothing
end

function show_stats1(stats::Stats)
fig = GLMakie.Figure(size = (400, 400))
GLMakie.text!(fig[1,1], 20, 0, text="hello", fontsize = 30, space=:pixel)
display(GLMakie.Screen(), fig)
nothing
end

function show_stats2(stats::Stats)
fig = GLMakie.Figure(size = (400, 400))
GLMakie.Label(fig[1,1], text="hello", fontsize = 30)
display(GLMakie.Screen(), fig)
nothing
end

0 comments on commit 2c4eb42

Please sign in to comment.