# How can I visualize a landscape which I have sample heights of?

I have a set of three dimensional coordinates, each of which is on a
landscape. I would like to visualize the entire landscape.

I've already tried plotting the points in 3D space using Axes3D.scatter, but
I just see a bunch of points, and it's hard to visually understand what's
going on.

Ideally, I would like to view a wireframe plot. In order for this to be
drawn, height values will need to be interpolated from the samples that I
have, which don't line up with a grid.

Another solution might be:

For each point, draw a vertical line from it, straight down, to a point
below it which has the same x and y coordinates, with 0 as the z coordinate.
This might still be difficult to visually understand.

···

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/How-can-I-visualize-a-landscape-which-I-have-sample-heights-of-tp45834.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

hi!

do a delaunay triangulation on them.

also try to do the triangulation only on the xy coordinates and see which of both gives the results you like more.

best, p

···

justonium <justinorthrop@…287…> schrieb am Do., 25. Juni 2015 um 05:21 Uhr:

I have a set of three dimensional coordinates, each of which is on a

landscape. I would like to visualize the entire landscape.

I’ve already tried plotting the points in 3D space using Axes3D.scatter, but

I just see a bunch of points, and it’s hard to visually understand what’s

going on.

Ideally, I would like to view a wireframe plot. In order for this to be

drawn, height values will need to be interpolated from the samples that I

have, which don’t line up with a grid.

Another solution might be:

For each point, draw a vertical line from it, straight down, to a point

below it which has the same x and y coordinates, with 0 as the z coordinate.

This might still be difficult to visually understand.

View this message in context: http://matplotlib.1069221.n5.nabble.com/How-can-I-visualize-a-landscape-which-I-have-sample-heights-of-tp45834.html

Sent from the matplotlib - users mailing list archive at Nabble.com.

OpManager is web-based network management software that monitors

network devices and physical & virtual servers, alerts via email & sms

Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

The mplot3d tutorial page, which is the first result when you google ‘mplot3d’, includes a section on ‘Tri-surface plots’ and is precisely what you are looking for.

You certainly do not need to use scipy. Matplotlib includes its own Delaunay triangulator, as specified in the ‘triangular grids’ documentation, which is the first
result when you google ‘matplotlib triangulation’.

···

Ian

On 25 June 2015 at 12:22, Philipp A. <flying-sheep@…273…> wrote:

hi!

do a delaunay triangulation on them.

also try to do the triangulation only on the xy coordinates and see which of both gives the results you like more.

best, p

justonium <justinorthrop@…287…> schrieb am Do., 25. Juni 2015 um 05:21 Uhr:

I have a set of three dimensional coordinates, each of which is on a

landscape. I would like to visualize the entire landscape.

I’ve already tried plotting the points in 3D space using Axes3D.scatter, but

I just see a bunch of points, and it’s hard to visually understand what’s

going on.

Ideally, I would like to view a wireframe plot. In order for this to be

drawn, height values will need to be interpolated from the samples that I

have, which don’t line up with a grid.

Another solution might be:

For each point, draw a vertical line from it, straight down, to a point

below it which has the same x and y coordinates, with 0 as the z coordinate.

This might still be difficult to visually understand.

View this message in context: http://matplotlib.1069221.n5.nabble.com/How-can-I-visualize-a-landscape-which-I-have-sample-heights-of-tp45834.html

Sent from the matplotlib - users mailing list archive at Nabble.com.

OpManager is web-based network management software that monitors

network devices and physical & virtual servers, alerts via email & sms

Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

OpManager is web-based network management software that monitors

network devices and physical & virtual servers, alerts via email & sms