octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #61961] Griddata cannot produce mesh on vertic


From: Rik
Subject: [Octave-bug-tracker] [bug #61961] Griddata cannot produce mesh on vertical vertices
Date: Sat, 29 Jan 2022 18:45:38 -0500 (EST)

Follow-up Comment #1, bug #61961 (project octave):

It's not clear what "vertical vertices" means.  The initial data you want to
interpolate can't have duplicate Z-values for a given X and Y point.  How
would the interpolation know which Z-value you wanted?

Is there an absolute minimum viable example here?

I tried this


[xx, yy] = meshgrid (0:1);
zz = xx;
mesh (xx,yy,zz);  # for visualization, this is an inclined plane
## Try interpolating a Z-value at an existing vertex
z = griddata (xx, yy, zz, 1, 1)


which works in that the answer z is exactly 1 as expected.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61961>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]