# Why doesn't Makie show pictures？

**URL:** <https://discourse.julialang.org/t/why-doesnt-makie-show-pictures/46571>\
**Category:** General Usage\
**Created:** [September 14, 2020, 3:48am UTC](https://discourse.julialang.org/t/why-doesnt-makie-show-pictures/46571 "2020-09-14T03:48:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zlq178](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zlq178/32/17952_2.png) [@zlq178](https://discourse.julialang.org/u/zlq178)\
**Post date:** [September 14, 2020, 3:48am UTC](https://discourse.julialang.org/t/why-doesnt-makie-show-pictures/46571/1 "2020-09-14T03:48:32Z")

</div>

‘’’  
using AbstractPlotting,Makie

x = [2 .\* (i/3) .\* cos(i) for i in range(0, stop = 4pi, length = 30)]  
y = [2 .\* (i/3) .\* sin(i) for i in range(0, stop = 4pi, length = 30)]  
z = range(0, stop = 5, length = 30)  
a=meshscatter(x, y, z, markersize = 0.5, color = to\_colormap(:blues, 30))  
scene = Scene()  
display(scene)  
‘’’  
I found a case from Makie.jl,which web site is [http://juliaplots.org/MakieReferenceImages/gallery//3d/index.html](http://juliaplots.org/MakieReferenceImages/gallery//3d/index.html)  
The Makie.jl’s web site is [https://makie.juliaplots.org/stable/gallery](https://makie.juliaplots.org/stable/gallery)  
But when I run this code, it didn’t show the picture.How could show the picture?

---

<div class="post-metadata">

**Author:** ![AndiMD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andimd/32/6531_2.png) [@AndiMD](https://discourse.julialang.org/u/AndiMD)\
**Post date:** [September 14, 2020, 9:09am UTC](https://discourse.julialang.org/t/why-doesnt-makie-show-pictures/46571/2 "2020-09-14T09:09:27Z")

</div>

You are creating an empty scene after your scatterplot. Make the scene first, then plot into it:

```julia
...
scene = Scene()
a = meshscatter!(scene, x, y, z, markersize = 0.5, color = to_colormap(:blues, 30))
...

```

---

<div class="post-metadata">

**Author:** ![zlq178](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zlq178/32/17952_2.png) [@zlq178](https://discourse.julialang.org/u/zlq178)\
**Post date:** [September 15, 2020, 1:52am UTC](https://discourse.julialang.org/t/why-doesnt-makie-show-pictures/46571/3 "2020-09-15T01:52:51Z")

</div>

How could I put two pictures in one scene and I can rotate any 3D image arbitrarily so that I can see the other angles?  
When I try this code :  
‘’’  
using Makie  
x=1:10  
y=1:10  
z = rand(10)  
q = rand(10)  
scene = Scene()  
a=meshscatter(x, y, z)  
b=meshscatter(x, y, q)  
c=Scene(a,b)  
display(c)  
‘’’  
It shows me " no method matching MeshScatter{…}(::UnitRange{Int64}, ::UnitRange{Int64}, ::Array{Float64,1})"

 ![image](https://global.discourse-cdn.com/julialang/original/3X/9/2/920da9891d8a265ac38f73830093a430f8c94526.png)  
Is there any other way to display multiple images at the same time and rotate any image at will?

---

<div class="post-metadata">

**Author:** ![AndiMD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andimd/32/6531_2.png) [@AndiMD](https://discourse.julialang.org/u/AndiMD)\
**Post date:** [September 15, 2020, 9:03am UTC](https://discourse.julialang.org/t/why-doesnt-makie-show-pictures/46571/4 "2020-09-15T09:03:09Z")

</div>

You could use `scene = vbox(a,b)` to create the Scene. The `meshscatter` command works with Makie v0.11.0. What is your version? `]st`  
See [http://juliaplots.org/MakieReferenceImages/gallery/heatmap\_interpolation/index.html](http://juliaplots.org/MakieReferenceImages/gallery/heatmap_interpolation/index.html)

Please use ``` to quote your code and error messages in the future to improve readability.
