Terrain
Transpose
transpose the terrain data points
Calling Sequence
Parameters
Description
Examples
Transpose(T)
T:-Transpose()
T
-
Terrain; the Terrain object
The Transpose method transposes the terrain data points. As a result, the data points for the two axes of the terrain get swapped.
withTires:
Assign the path to the spreadsheet that defines the terrain data points.
filepath≔FileTools:-JoinPathkerneloptstoolboxdir=TireComponentLibrary,data,examples,terrain.xlsx:
Import the data and use it to assign a Terrain object.
terrain≔ImportDatafilepath,up_direction=z
terrain≔Terrain
terrain:-Plot
Swap the x and y data points.
terrain:-Transpose:
Plot the terrain again and see the differences.
See Also
Tires
Download Help Document