Activate "View Layout Grid" and "Snap to Layout Grid" programmatically
2 次查看(过去 30 天)
显示 更早的评论
Hey,
is there any way to activate the Functions View Layout Grid and Snap to Grid (included in the standard Tools-Menu of Matlab figures)? At least it ist possible to activate some other things like "Align", or things from the standard Toolbar like pan, zoom, plotedit - so there maybe is a way, to activate (all?) the other Functions and Helpers programmatically?
Thanks and greetings
0 个评论
采纳的回答
Wilson A N
2017-1-19
You can use the following command to enable the snap to grid option
snaptogrid(figureHandle,'toggleview')
For more options you can just check the snaptogrid.m file.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Install Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!