Change default Update Function for datatips
5 次查看(过去 30 天)
显示 更早的评论
Is it possible to change the default Update Function for datatips?
I know I can change it for an existing figure fig with
set(datacursormode(fig), 'UpdateFcn', @my_update_fcn)
but I'm asking if it possible to change it for all future figures that will be created after. One possible solution is to create a "new" figure command that execute the previous code before showing the window, but that doesn't seem the optimal way to do it.
0 个评论
采纳的回答
Walter Roberson
2018-6-8
Unfortunately, No, there is no way to configure a default for that since R2014b (there was for R2014a and before.)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!