Graphics challenge
When I teach the MATLAB graphics class for new technical support engineers at MathWorks, I have one major exercise for them to do. This is that exercise.
This is a good exercise that involved a lot of skills:
- Lines only have one color
- Using NaN in plotting
- Using SET
- Using convenince functions like XLIM
- Difference between PLOT and LINE
- Setting callbacks like WindowButtonMotionFcn
- Managing state
- Using currentpoint property of an axis
- Using a create function and an update function
- Choosing good architecture to simplify implementation
评论
要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。