plot_over_line
Sample a scalar or vector field along a straight line in a 3D simulation dataset to obtain coordinate and field value arrays for plotting.
Instructions
Sample field values along a line between two points.
Returns coordinate arrays and field values for plotting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to simulation file | |
| field_name | Yes | Field to sample | |
| point1 | Yes | Start point [x, y, z] | |
| point2 | Yes | End point [x, y, z] | |
| resolution | No | Number of sample points | |
| timestep | No | Timestep selection |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||