# How to set resolution in GLMakie.mesh()?

**URL:** https://discourse.julialang.org/t/how-to-set-resolution-in-glmakie-mesh/70492
**Category:** General Usage
**Tags:** mesh, makie
**Created:** [October 27, 2021, 3:36pm UTC](https://discourse.julialang.org/t/how-to-set-resolution-in-glmakie-mesh/70492 "2021-10-27T15:36:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Simbelmyne](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@Simbelmyne](https://discourse.julialang.org/u/Simbelmyne)
#### Post date: [October 27, 2021, 3:36pm UTC](https://discourse.julialang.org/t/how-to-set-resolution-in-glmakie-mesh/70492/1 "2021-10-27T15:36:37Z")

</div>

Hey,

I am trying to change the resolution of a 2D mesh plot:

scene = GLMakie.mesh(vertices, faces, color = colors, shading = false, resolution=(500,500))

However, this does not appear to work, it always defaults to 800x600. No errors being cast.

---

<div class="post-metadata">

### Author: ![ffreyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffreyer/32/21569_2.png) [@ffreyer](https://discourse.julialang.org/u/ffreyer)
#### Post date: [October 27, 2021, 4:56pm UTC](https://discourse.julialang.org/t/how-to-set-resolution-in-glmakie-mesh/70492/2 "2021-10-27T16:56:01Z")

</div>

I don’t know what the one line version of it is but you can use

```julia
fig = Figure(resolution = (500, 500))
ax = Axis(fig[1, 1])
mesh!(ax, vertcies, faces, color = colors, shading = false)
fig

```
