Skip to content
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

Docs: Make example code executable #2181

Open
DanielDoehring opened this issue Nov 27, 2024 · 0 comments
Open

Docs: Make example code executable #2181

DanielDoehring opened this issue Nov 27, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@DanielDoehring
Copy link
Contributor

DanielDoehring commented Nov 27, 2024

See
#2146 (comment)
and
#2146 (comment)

which applies for instance to

```julia
julia> using Trixi, Plots
julia> trixi_include(joinpath(examples_dir(), "tree_2d_dgsem", "elixir_acoustics_gaussian_source.jl"))
julia> pd1 = PlotData1D(time_series, 1)
julia> pd2 = PlotData1D(time_series, 2)
julia> plot(pd1["p_prime"]); plot!(pd2["p_prime"], xguide="t")
```

Originally posted by @DanielDoehring in #2146 (comment)

@DanielDoehring DanielDoehring added the documentation Improvements or additions to documentation label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant