# Plotting surface without interpolating at discontinuity

**URL:** <https://discourse.julialang.org/t/plotting-surface-without-interpolating-at-discontinuity/95279>\
**Category:** General Usage\
**Tags:** question, plotting, plots\
**Created:** [February 27, 2023, 3:58pm UTC](https://discourse.julialang.org/t/plotting-surface-without-interpolating-at-discontinuity/95279 "2023-02-27T15:58:04Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [March 1, 2023, 10:15am UTC](https://discourse.julialang.org/t/plotting-surface-without-interpolating-at-discontinuity/95279/6 "2023-03-01T10:15:26Z")

</div>

@jheinen, Plots.jl with gr() backend seems to exhibit several bugs on this example.

Bug on `aspect_ratio=:equal`, which is not applied to the z-axes:

```julia
surface(x, y, z', ratio=:equal)

```

Bug on the color scale limits if we set `zlims` to fix the `aspect_ratio` bug above:

```julia
surface(x, y, z', ratio=:equal, zlims=(-2,2))

```

---

_[View the full topic](https://discourse.julialang.org/t/plotting-surface-without-interpolating-at-discontinuity/95279)._
