Dear Matlab users,
I am plotting a surface of temperatures over a time period i. For every step in i, an image is created. I want to add a datacursor to every plotted image on coordinates x=34, y=1 and Z (dependent on every step in i). What do i add to my code to get this?
xlabel('x distance mm');
ylabel('y distance mm');
title('Surfplot of heattransfer in zeolite beads');
axis([0 34 0 34 0 200])
baseFileName = sprintf('Heattransfer_%d.png', i);
saveas(gcf, baseFileName, 'png')
Also, i want to show on what timestep the frame is. So, show i in the current surfplot. How can i get this?
Thanks in advance!