From: Eyal Fleminger on
Hello

I'm having a problem using the Mapping Toolbox.

I want to create a map axis which includes items at various points in the air (at various heights). The objects themselves I can generate using plot3m. However, I also wish to plot a shaded 3D area to designate certain sections of the map, based on the lat/lon/h coordinates of the vertices.

For a simple example, let's say I want to plot a cube in a normal axes. calculate the coordinates of the vertices, and then plot them (and fill the area between them - with the patch function.

However, as far as I can tell, the equivalent functions in the Mapping Toolbox do not allow the same sort of plotting. While they are similiar in 2D, each patch would have a fixed height - that is, it is parallel to the map. In the case of the cube, that means I could draw the top and bottom faces, but not the other faces (in practise, I need somewhat more complicated patches - slanted flat surfaces and full or partial spheres).

So far, the only solution I have been able to find is to use plot3m to create a sort of "wiresketch" version, which isn't really what I'd prefer (especially because it would be difficult to plot hemispheres or similiar volumes in that fashion).

Can anyone suggest a solution to this?

Thanks