plotThreePlusOne
Last updated
Last updated
A function that plots the 3+1 components of the metric tensor.
Finds the 3+1 terms and then plots slices of these components based selection of the dimensions to slice along.
plotThreePlusOne(
metric
,
slicedPlanes
,
sliceLocations
,
alpha
)
blue are required inputs.
orange are optional inputs with native default values.
Inputs | Format | Type | Description |
---|---|---|---|
No data outputs. Generates figures with the plotting data.
metric
struct
object
Input metric tensor object. Must be a "metric" type.
slicedPlaned
1x2 array
double
Select the two dimensions to slice along, where the dimensions are from 0 to 1. The default value is [1, 4].
sliceLocation
1x2 array
double
Selects the center value of the midPlane. The default value is half of the grid size of the tensor dimensions specified in slicedPlanes
.
alpha
1x1 array
double
The alpha scale of the surface grid, ranges from 0 to 1. The default value is 0.2.