Plot Functions
Last updated
Last updated
Certian standard MATLAB functions are wrapped into a special call to better handle 4D data for the user.
plotq
Extends function by applying a to remove all array dimensions equal to 1
plotq(
data(1,:,end/2,end/2)
)
surfq
Extends function by applying a to remove all array dimensions equal to 1. Note this automatically applies the custom colormap of redblue
.
surfq(
data(1,:,:,end/2)
)
For displaying metric and stress-energy values, some unique functions are built into Warp Factory to help users.
redblue(
data
,
gradientNum
)
Custom function which takes in data
and optional gradientNum
to return a smooth mapping of red colors for negative values and blue colors for positive values. The gradientNum
defines the resolution of the color scale, defaults to 1024.
redblue(
data
)