How to plot 3D discrete data with vectors x,y and matrix Z?

I already made a figure with
mesh(x,y,Z)
where as Z has the size of length(x) by length(y).
Now i want exactly the same, but only with discrete points.
already tried scatter3 but it needs 3 vectors, all of the same length.
Basically I need something like stem3(x,y,Z) but without the stems.
Is there really no solution?

Asked:

on 2 Aug 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!