# Makie | How to set position of displayed image on the screen?

**URL:** <https://discourse.julialang.org/t/makie-how-to-set-position-of-displayed-image-on-the-screen/94585>\
**Category:** Visualization\
**Tags:** question, makie\
**Created:** [February 13, 2023, 9:17pm UTC](https://discourse.julialang.org/t/makie-how-to-set-position-of-displayed-image-on-the-screen/94585 "2023-02-13T21:17:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Audrius-St](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/audrius-st/32/24175_2.png) [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Post date:** [February 13, 2023, 9:17pm UTC](https://discourse.julialang.org/t/makie-how-to-set-position-of-displayed-image-on-the-screen/94585/1 "2023-02-13T21:17:42Z")

</div>

f = Figure(resolution = (1000,700))  
specifies the size of the displayed image on the screen in pixel coordinates,  
but how does one set the position of the displayed image on the screen again in pixel coordinates.

It’s probably in the Makie docs somewhere, but I was not able to locate it.

---

<div class="post-metadata">

**Author:** ![airpmb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/airpmb/32/7826_2.png) [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Post date:** [February 14, 2023, 4:39pm UTC](https://discourse.julialang.org/t/makie-how-to-set-position-of-displayed-image-on-the-screen/94585/2 "2023-02-14T16:39:09Z")

</div>

Someone else asked an almost identical question around the same time. This should address yours too:

> [@Start GLMakie visualization in previous position with previous size](https://discourse.julialang.org/t/start-glmakie-visualization-in-previous-position-with-previous-size/94132/2):
>
> Have you tried the focus\_on\_show and resolution arguments to GLMakie.Screen? using GLMakie GLMakie.Screen(; resolution=(1000, 500), focus\_on\_show=true) I’ve been wanting to figure out the other things you mention and I think I’ve got it: s = GLMakie.Screen() glw = s.glscreen cursize = GLMakie.GLFW.GetWindowSize(glw) GLMakie.GLFW.SetWindowSize(glw, 1000, 100) # resize the window manually.. GLMakie.GLFW.SetWindowSize(glw, cursize...) # goes back There’s a GetWindowSize and SetWindowPos that wo…

---

<div class="post-metadata">

**Author:** ![Audrius-St](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/audrius-st/32/24175_2.png) [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Post date:** [February 14, 2023, 8:46pm UTC](https://discourse.julialang.org/t/makie-how-to-set-position-of-displayed-image-on-the-screen/94585/3 "2023-02-14T20:46:05Z")

</div>

> [@Start GLMakie visualization in previous position with previous size](https://discourse.julialang.org/t/start-glmakie-visualization-in-previous-position-with-previous-size/94132/2):
>
> s = GLMakie.Screen()

Thank you for your suggestion and code fragment.  
I’ll reply in the other thread to avoid duplication.
