# \[ANN\] UnitfulRecipes.jl 1.0

**URL:** <https://discourse.julialang.org/t/ann-unitfulrecipes-jl-1-0/45365>\
**Category:** General Usage\
**Tags:** announcement, unitful\
**Created:** [August 22, 2020, 1:35pm UTC](https://discourse.julialang.org/t/ann-unitfulrecipes-jl-1-0/45365 "2020-08-22T13:35:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jw3126](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jw3126/32/3086_2.png) [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Post date:** [August 22, 2020, 1:35pm UTC](https://discourse.julialang.org/t/ann-unitfulrecipes-jl-1-0/45365/1 "2020-08-22T13:35:01Z")

</div>

# [ANN] UnitfulRecipes.jl 1.0

@briochemc and myself are happy to announce [UnitfulRecipes.jl](https://github.com/jw3126/UnitfulRecipes.jl) 1.0.

[UnitfulRecipes.jl](https://github.com/jw3126/UnitfulRecipes.jl) provides recipes for plotting figures ([Plots.jl](https://github.com/JuliaPlots/Plots.jl)) when using data with units ([Unitful.jl](https://github.com/PainterQubits/Unitful.jl)).

```julia
using Unitful, UnitfulRecipes, Plots
const a = 1u"m/s^2"
v(t) = a * t
x(t) = a/2 * t^2
t = (0:0.01:100)*u"s"
plot(x.(t), v.(t), xlabel="position", ylabel="speed")

```

should give something like

 ![UnitfulRecipeExample](https://global.discourse-cdn.com/julialang/original/3X/9/3/933b9372d992a3e43f6dd83f3ea20a2129b3e6b6.png)

[UnitfulRecipes.jl](https://github.com/jw3126/UnitfulRecipes.jl) also interoperates well with the wider ecosystem:

```julia
using Plots, UnitfulRecipes, Unitful, UnitfulMoles, Measurements
x = collect(-10:2:30) * u"°C"
y = (50 .+ 10atan.(ustrip.(x)/10) .± 3rand.(length(x))) * u"molC/molP"
plot(x, y, ylabel="Organic matter C:P", xlabel="Water temperature", label="")

```

 ![image](https://global.discourse-cdn.com/julialang/original/3X/8/0/80925f0aa8fbf4f44d09df384458e30f4c2dfd1b.png)

Head over to the [documentation](https://jw3126.github.io/UnitfulRecipes.jl/stable/) for more examples!
