I have derived an Elevation Profile from SRTM DEM (1ArcSec) using a polyline in ArcGIS 10.3. As shown in the below figure, the line passes through pixels having No Data values. However, these areas have been plotted in the resultant Elevation Profile.
I am intending to exclude portion of line having No Data values from the graph without splitting my polyline so I could show gap over there shown on graph. What is the optimal way to achieve this objective?