I currently used the knickpointfinder MATLAB codes from TopoToolbox. I want to plot the locations of knickpoints (which are shown over longitudinal profile) over DEM. Please guide me with the MATLAB codes for plotting knickpoint position over DEM.
It is easier when only using the main trunk knickpoints...
The code should be something like this, where points are the knickpoints coordinates x (distance along profile) and y(elevation), CAT is a structure where I stored several stream objects, level is each of the profiles. Some variables should be modified is just a draft: