# \[Makie\] meshscatter with different axis scales

**URL:** https://discourse.julialang.org/t/makie-meshscatter-with-different-axis-scales/81027
**Category:** General Usage
**Tags:** makie
**Created:** [May 13, 2022, 2:52pm UTC](https://discourse.julialang.org/t/makie-meshscatter-with-different-axis-scales/81027 "2022-05-13T14:52:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kunzaatko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kunzaatko/32/25153_2.png) [@kunzaatko](https://discourse.julialang.org/u/kunzaatko)
#### Post date: [May 13, 2022, 2:52pm UTC](https://discourse.julialang.org/t/makie-meshscatter-with-different-axis-scales/81027/1 "2022-05-13T14:52:57Z")

</div>

I am using `meshscatter` for data that has a very different scale in the _z_ axis. How would I go about it?

My particular use-case is that I have points on an image _512×512_ and the points of the third axis are somewhere in the range (0,0.20). When I use the default attributes, I get this:

```julia
x = rand(100)*512
y = rand(100)*512
z = rand(100)/5

meshscatter(x,y,z)

```

 ![default](https://global.discourse-cdn.com/julialang/original/3X/0/e/0e934f43e44189e5ef48078e8112756505a5db38.png)

The third axis is not visible at all. So I tried to make the aspect of the axis to be `(1,1,1)`:

```julia
fig = Figure()
ax = Axis3(fig[1,1], aspect = (1,1,1))
meshscatter!(ax,x,y,z)

```

 ![aspect](https://global.discourse-cdn.com/julialang/original/3X/3/f/3f91b00c22ebfd7f8463670f26bc7c2201e5972a.png)

But this makes the markers wierd. So I tried to adjust `markerspace`:

```julia
meshscatter!(ax,x,y,z; markerspace = Pixel)

```

 ![aspect](https://global.discourse-cdn.com/julialang/original/3X/3/f/3f91b00c22ebfd7f8463670f26bc7c2201e5972a.png)

But this does not change the output. What is the correct solution for this?
