I have a table with a combination of strings and numbers as follows:
A 0 1
B 5 0
C 0 1
D 0 0
E 3 4
This table is used to add annotations to a plot. The idea is to display rows with non zero values in it, i.e., in plot 1, I need to display B-5, E-3 and in plot 2, A-1, C-1, E-4, as shown in the image below.
Can someone suggest a way for doing this in matlab? Thanks in advance!!