I have plotted multiple subplots in a same figure. When I move the cursor above the plot, I wanted to read the values from each subplot instead of inserting ‘Datapoint’ manually at each subplots.
A=[1 2 3 4 5 6];
B=[3 4 5 6 2 8];
C=[3 2 7 5 8 3];
figure(1);
subplot(2,1,1);
plot(A,B,'m')
hold on;
subplot(2,1,2);
plot(A,C,':y')
Title('Test figure')
Are there any inbuilt function in Matlab to do the same… Thanks