# How to plot an equivalent of matlabs' surf plot in julia

**URL:** https://discourse.julialang.org/t/how-to-plot-an-equivalent-of-matlabs-surf-plot-in-julia/99413
**Category:** General Usage
**Created:** [May 25, 2023, 10:05pm UTC](https://discourse.julialang.org/t/how-to-plot-an-equivalent-of-matlabs-surf-plot-in-julia/99413 "2023-05-25T22:05:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![RDuarte](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@RDuarte](https://discourse.julialang.org/u/RDuarte)
#### Post date: [May 25, 2023, 10:05pm UTC](https://discourse.julialang.org/t/how-to-plot-an-equivalent-of-matlabs-surf-plot-in-julia/99413/1 "2023-05-25T22:05:13Z")

</div>

Dear all,

How can I plot a 3D plot but from a top view. In fact what Im searching for is an equivalent function of surf() in matlab.

Thanks in advance.

---

<div class="post-metadata">

### Author: ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)
#### Post date: [May 25, 2023, 10:50pm UTC](https://discourse.julialang.org/t/how-to-plot-an-equivalent-of-matlabs-surf-plot-in-julia/99413/2 "2023-05-25T22:50:22Z")

</div>

The counterpart of Matlab’s `surf` is `surface` in Makie. But if you just want a top view, can’t you just use `heatmap` (similar to `image` in Matlab)?
