# Second (non-linear) X-Axis

**URL:** <https://discourse.julialang.org/t/second-non-linear-x-axis/117082>\
**Category:** Visualization\
**Tags:** plotting, plots\
**Created:** [July 16, 2024, 12:25am UTC](https://discourse.julialang.org/t/second-non-linear-x-axis/117082 "2024-07-16T00:25:47Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [July 16, 2024, 12:06pm UTC](https://discourse.julialang.org/t/second-non-linear-x-axis/117082/10 "2024-07-16T12:06:36Z")

</div>

Thanks @jules, indeed there is a problem.

I remember a few years ago I was looking for this feature and at that time I had to use PyPlot.jl. See the [PyPlot solution here](https://discourse.julialang.org/t/plots-with-a-secondary-non-linear-axis-scale/56661), where the function f(x) must be monotonic.

---

_[View the full topic](https://discourse.julialang.org/t/second-non-linear-x-axis/117082)._
