Practical Example: Adding callbacks to a plot
This eleven minute video shows how you can make plots on two axes such that when one point of a pair is clicked, they both are highlighted.
In this video you will see:
Also note, I have made a direct link the the Lazy Web open challenges page. There is a new challenge up. Don’t forget there are t-shirts for answering the one minute survey below.
- LINE used instead of PLOT so that each data point has its own handle
- Debugging when a nested function is not closed properly
- Debugging when inputs are unspecified to a callback
- Handle graphics manipulation of marker size
- Lining up code for better readability
- Frequent testing of code to minimize errors when they do occur
댓글
댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.