Skip to content

Commit

Permalink
Polar camera angle and red-blue colormap in H-E-W plots
Browse files Browse the repository at this point in the history
  • Loading branch information
lukem12345 authored Dec 4, 2024
1 parent fb90e65 commit 82d2bd5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/src/ebm_melt/ebm_melt.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ end
f = Figure()
ax = LScene(f[1,1], scenekw=(lights=[],))
msh = mesh!(ax, s_plots, color=sit_sph)
update_cam!(ax.scene, Vec3f(0,0,0.8), Vec3f(0,0,0), Vec3f(0, 1, 1))
msh = mesh!(ax, s_plots, color=sit_sph, colormap=Reverse(:redsblues))
Colorbar(f[1,2], msh)
f
```
Expand Down Expand Up @@ -315,7 +316,8 @@ Let's visualize the initial conditions for ice height and the ice height after 1
``` @example DEC
f = Figure()
ax = LScene(f[1,1], scenekw=(lights=[],))
msh = mesh!(ax, s_plots, color=soln.u[begin].h)
update_cam!(ax.scene, Vec3f(0,0,0.8), Vec3f(0,0,0), Vec3f(0, 1, 1))
msh = mesh!(ax, s_plots, color=soln.u[begin].h, colormap=Reverse(:redsblues))
Colorbar(f[1,2], msh)
f
```
Expand All @@ -325,7 +327,8 @@ f
``` @example DEC
f = Figure()
ax = LScene(f[1,1], scenekw=(lights=[],))
msh = mesh!(ax, s_plots, color=soln.u[end].h)
update_cam!(ax.scene, Vec3f(0,0,0.8), Vec3f(0,0,0), Vec3f(0, 1, 1))
msh = mesh!(ax, s_plots, color=soln.u[end].h, colorrange=extrema(soln.u[begin].h), colormap=Reverse(:redsblues))
Colorbar(f[1,2], msh)
f
```
Expand Down

0 comments on commit 82d2bd5

Please sign in to comment.