# Unmatched dimensions for 3D plot

**URL:** <https://discourse.julialang.org/t/unmatched-dimensions-for-3d-plot/75180>\
**Category:** General Usage\
**Tags:** plotting, diffeq, plots, gr\
**Created:** [January 25, 2022, 3:46pm UTC](https://discourse.julialang.org/t/unmatched-dimensions-for-3d-plot/75180 "2022-01-25T15:46:07Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [January 25, 2022, 5:13pm UTC](https://discourse.julialang.org/t/unmatched-dimensions-for-3d-plot/75180/13 "2022-01-25T17:13:04Z")

</div>

It really seems like there’s a bug in Plots/GR at the moment, or my setup is somehow broken. Could someone else try to reproduce this?

```julia
julia> using Plots

julia> x = 1:5; y = 1:10; z = [x + y for x ∈ 1:5, y ∈ 1:10];

julia> surface(x, y, z') # fine 

# Close the Gtk window

julia> surface(x, y, z')
read: No error
Error showing value of type Plots.Plot{Plots.GRBackend}:
ERROR: GR3 error (/workspace/srcdir/gr/lib/gr3/gr3.c, l. 1886): invalid value

(@v1.7) pkg> st Plots
      Status `C:\Users\ngudat\.julia\environments\v1.7\Project.toml`
  [91a5bcdd] Plots v1.25.6

(@v1.7) pkg> st -m GR
      Status `C:\Users\ngudat\.julia\environments\v1.7\Manifest.toml`
  [28b8d3ca] GR v0.63.1

```

---

_[View the full topic](https://discourse.julialang.org/t/unmatched-dimensions-for-3d-plot/75180)._
