how to plot staggered array?
14 views (last 30 days)
I want to plot an array with each successive row ("trace") offset slightly to create a staggered array of the data, such as:
How can I eliminate the blank values (i.e. y=0) that are creating those straight lines to the left of each successive trace?
Here is my code (the original data array is named "dF_F"; the number of successive traces is named "cell_num"; the length of each trace is named "scan_num"):
fig = gcf;
ax = axes('Parent', fig);
Star Strider on 16 Oct 2016
There are probably several ways to plot that. I would use the ribbon function, and then experiment with its options to get the result you want.