polysection

Create cross sections along waypoints based on a 3D grid interpolated from xyz scatter data.
1.1K Downloads
Updated 22 Feb 2010

View License

This function carries out the following tasks:

1) Imports a set of xyz scatter data, interpolates them to a uniform mesh, and creates a contour map figure of the results.

2) Allows for the user to interactively select a series of waypoints by selecting them using 'getpts' on the figure.

3) Creates a series of evenly spaced cross sections perpendicular to the polyline created by the waypoints.

4) Exports the results as a 3-D graphic.

5) Exports the cross section xyz coordinates to Excel as 'CSData.xls', where each cross section has its own worksheet.

An example scatter data set 'Scatter.dat' has been included.

Cite As

Jeff Tuhtan (2024). polysection (https://www.mathworks.com/matlabcentral/fileexchange/26338-polysection), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Coordinate Transformations in Help Center and MATLAB Answers
Acknowledgements

Inspired: riverscatter

Community Treasure Hunt

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

Start Hunting!

polysection/

Version Published Release Notes
1.4.0.0

-Changed Export bug

1.3.0.0

-Adjusted 3-D visualization default settings
-Fixed user input error when asked to export to Excel

1.2.0.0

-Added Excel export option

1.1.0.0

Updated description.

1.0.0.0