we plotted a graph og voltage as a function of time. The firing rate is different for each segment in the plot. We would like to add a title to each sagment stating the firing rate in it. We triend using a regular textbox with no luck. Thanks in advance!
txt = 'Firing rate = 50';
dim =[0 1/18 0 0.2];
annotation('textbox', dim, 'string', txt);