Skip to content

Commit

Permalink
Fix docs of energypressureplot
Browse files Browse the repository at this point in the history
  • Loading branch information
singularitti committed Sep 2, 2023
1 parent ff3816e commit dad98d7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/EquationOfStateRecipes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,16 @@ Plot the bulk modulus versus volumes curves given the parameters of equations of
end

"""
energypressureplot(params::Parameters, volumes, args...; kw...)
energypressureplot!(params::Parameters, volumes, args...; kw...)
energypressureplot!(plotobj, params::Parameters, volumes, args...; kw...)
energypressureplot(params::Parameters, volumes, args...; layout=(1, 2), kw...)
energypressureplot!(params::Parameters, volumes, args...; layout=(1, 2), kw...)
energypressureplot!(plotobj, params::Parameters, volumes, args...; layout=(1, 2), kw...)
Create a graph that shows the energy/pressure versus volume curves using the given
Create a graph that shows the energy/pressure versus volume curves using the given
parameters of equations of state on the same horizontal axis.
!!! tip
To use this function, you must specify the `layout` keyword argument as either
`(1, 2)` or `(2, 1)`!
"""
@userplot EnergyPressurePlot
@recipe function f(plot::EnergyPressurePlot)
Expand Down

0 comments on commit dad98d7

Please sign in to comment.