# Surface plot not working in Makie

**URL:** <https://discourse.julialang.org/t/surface-plot-not-working-in-makie/56488>\
**Category:** Visualization\
**Tags:** plotting, makie\
**Created:** [March 4, 2021, 5:38pm UTC](https://discourse.julialang.org/t/surface-plot-not-working-in-makie/56488 "2021-03-04T17:38:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nandoconde](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nandoconde/32/19497_2.png) [@nandoconde](https://discourse.julialang.org/u/nandoconde)\
**Post date:** [March 4, 2021, 5:38pm UTC](https://discourse.julialang.org/t/surface-plot-not-working-in-makie/56488/1 "2021-03-04T17:38:46Z")

</div>

Hello everyone.

I am having troubles to plot a surface in Makie. Here is a MWE:

```nohighlight
]add GLMakie
using Makie

a = 1:0.1:20;
b = 5:0.05:30;
c = [x*log10(y) for x in a, y in b];
x,y,z = surface(a,b,c)

```

this gets me:

```nohighlight
Error showing value of type AbstractPlotting.FigureAxisPlot:
ERROR: MethodError: no method matching shadertype(::FileIO.File{FileIO.DataFormat{:UNKNOWN}, String})
Closest candidates are:
  shadertype(::GLMakie.GLAbstraction.Shader) at ~\.julia\packages\GLMakie\V1pC5\src\GLAbstraction\GLShader.jl:63
  shadertype(::FileIO.File{FileIO.DataFormat{:GLSLShader}, Name} where Name) at ~\.julia\packages\GLMakie\V1pC5\src\GLAbstraction\GLShader.jl:64
  shadertype(::AbstractString) at 
~\.julia\packages\GLMakie\V1pC5\src\GLAbstraction\GLShader.jl:67

```

I have been able to see the surface with `WGLMakie` and VSCode, but my workflow is usually with just REPL. Any suggestions? Is my installation of Julia broken, or is it the package?

Thanks!

EDIT: Using latest `GLMakie` in the global registry and both Julia 1.5.3 and 1.6.0-rc1

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [March 4, 2021, 5:43pm UTC](https://discourse.julialang.org/t/surface-plot-not-working-in-makie/56488/2 "2021-03-04T17:43:24Z")

</div>

[https://github.com/JuliaPlots/Makie.jl/issues/863](https://github.com/JuliaPlots/Makie.jl/issues/863)
