Transpose - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Terrain

  

Transpose

  

transpose the terrain data points

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Transpose(T)

T:-Transpose()

Parameters

T

-

Terrain; the Terrain object

Description

The Transpose method transposes the terrain data points. As a result, the data points for the two axes of the terrain get swapped.

Examples

withTires:

Assign the path to the spreadsheet that defines the terrain data points.

filepathFileTools:-JoinPathkerneloptstoolboxdir=TireComponentLibrary,data,examples,terrain.xlsx:

Import the data and use it to assign a Terrain object.

terrainImportDatafilepath,up_direction=z

terrainTerrain

(1)

terrain:-Plot

Swap the x and y data points.

terrain:-Transpose:

Plot the terrain again and see the differences.

terrain:-Plot

See Also

Terrain

Tires