How could I add both each element number and nodecordinate in Figure?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
How could I add both each element number and nodecordinate in Figure according to 'nodeCoordinates.mat, elementNodes.mat' files?

Answers (1)
Geoff Hayes
on 17 Jan 2015
If you wish to annotate a particular axes in your figure, then consider using the text command. Something like
text(0,0,'hello','Parent',gca)
would annotate the current axes with hello at coordinate (0,0). From your above figure, rather than using gca you would use the handle to the subplot that you wish to annotate.
Once you have loaded the data from your two mat files, presumably you would have enough information within them to determine where to annotate your two axes with the element number and node coordinates.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!