-
Notifications
You must be signed in to change notification settings - Fork 7
4. Sub Function Descriptions: stackPlotter
Jenna Brown edited this page Jul 1, 2020
·
2 revisions
-
This function plots a timestack in matlab provided a pixel intensity matrix, a corresponding coordinate vector (X or Y) and a corresponding time vector t. If t is not specified {}, time will just be represented as an index, 1,2,3,4. The user can plot it as an RGB image using imagesc or a grayscale image using pcolor depending on the what I is entered. User can also specify if what type of transect it is, x or y. This only dictates whether time is represented on the vertical or horizontal axis.
Variable Size Description Ir [PxTxC] RGB pixel intensities (C=3) or grayscale (C=1). P is number of points along transect. T is number of transects or points in time. d [1xP] Vector of spatial coordinate that transect spans along (X or Y). t [1xP] Vector of time in user desired units. typ string String of 'x' or 'y' specifying if an cross-shore (x) or alongshore (y) transect. Dictates whether time is on the vertical (x) or horizontal (y) axis. Variable Size Description - - Plotted rectified frame on current axes with axes corresponding to world coordinates (Figure 12, last two sub-figures) -
None.