# Imshow in Makie

**URL:** <https://discourse.julialang.org/t/imshow-in-makie/95460>\
**Category:** General Usage\
**Tags:** question\
**Created:** [March 2, 2023, 6:06pm UTC](https://discourse.julialang.org/t/imshow-in-makie/95460 "2023-03-02T18:06:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![prittjam](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/prittjam/32/21267_2.png) [@prittjam](https://discourse.julialang.org/u/prittjam)\
**Post date:** [March 2, 2023, 6:06pm UTC](https://discourse.julialang.org/t/imshow-in-makie/95460/1 "2023-03-02T18:06:48Z")

</div>

Is there some convenience function to show an image in Makie? I have to transpose and reverse the y-axis everytime. And I often forget…

---

<div class="post-metadata">

**Author:** ![SteffenPL](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/steffenpl/32/206270_2.png) [@SteffenPL](https://discourse.julialang.org/u/SteffenPL)\
**Post date:** [March 3, 2023, 2:38pm UTC](https://discourse.julialang.org/t/imshow-in-makie/95460/2 "2023-03-03T14:38:26Z")

</div>

The function is called `rotr90` 😉 You can find it for example here in the third example: [image (makie.org)](https://docs.makie.org/stable/examples/plotting_functions/image/#example_17247350919867677199)

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [March 3, 2023, 4:52pm UTC](https://discourse.julialang.org/t/imshow-in-makie/95460/3 "2023-03-03T16:52:10Z")

</div>

We’ve thought about a more convenient version before but so far noone has actually done it. I agree it’s a bit tedious to rotate correctly everytime. But I also think, that in general keeping the first dimension x and the second y is a good default because it aligns with all other functions.

---

<div class="post-metadata">

**Author:** ![prittjam](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/prittjam/32/21267_2.png) [@prittjam](https://discourse.julialang.org/u/prittjam)\
**Post date:** [March 4, 2023, 1:27pm UTC](https://discourse.julialang.org/t/imshow-in-makie/95460/4 "2023-03-04T13:27:05Z")

</div>

ok, fair enough 🙂
