# How to Transform Plots / Shape with Plots.jl

**URL:** https://discourse.julialang.org/t/how-to-transform-plots-shape-with-plots-jl/92079
**Category:** General Usage
**Tags:** question
**Created:** [December 24, 2022, 8:00am UTC](https://discourse.julialang.org/t/how-to-transform-plots-shape-with-plots-jl/92079 "2022-12-24T08:00:13Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![uniment](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/uniment/32/24532_2.png) [@uniment](https://discourse.julialang.org/u/uniment)
#### Post date: [December 25, 2022, 8:15am UTC](https://discourse.julialang.org/t/how-to-transform-plots-shape-with-plots-jl/92079/7 "2022-12-25T08:15:34Z")

</div>

I like this approach. It’s not even really specific to the y-axis, and using built-in partial application types makes it play nice with things like InverseFunctions.jl:

```julia
shift(ν) = Base.Fix1(+, ν)
shift(5) ∘ f # y-up-shift
f ∘ shift(2) # x-left-shift

```

---

_[View the full topic](https://discourse.julialang.org/t/how-to-transform-plots-shape-with-plots-jl/92079)._
