Skip to content

Commit

Permalink
Update juliasetup_example_sphere.md
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskaus authored Oct 27, 2024
1 parent 37aa64a commit e179f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/juliasetup_example_sphere.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ julia> add_phase!(model, sphere, matrix)
#### 1.3 Set initial model geometry
We also need to specify an initial model geometry. The julia package `GeophysicalModelGenerator` has a number of functions for that, which can be used here. For the current setup, we just add a sphere:
```julia
julia> add_sphere!(model,cen=(0.0,0.0,0.0), radius=(0.5, ))
julia> add_sphere!(model,cen=(0.0,0.0,0.0), radius=0.5)
```
It is often useful to plot the initial model setup. You can do this with the `heatmap` function from the `Plots.jl` package, for which we provide a LaMEM plugin that allows you to specify a cross-section through a 3D LaMEM setup:

Expand Down

0 comments on commit e179f24

Please sign in to comment.