- Text Objects: Write a script that finds all text objects in the current figure.
- Pattern Matching: Use regular expressions to identify text that represents years (4-digit numbers) or month names.
- Deletion: If a text object matches the criteria, then delete it from the figure.
Erase year and month text created with gregax
1 次查看(过去 30 天)
显示 更早的评论
Hey guys,
I need to include in the script a way to delete the year and month text created with gregax in the figures.
I currently delete manually.
Thanks
0 个评论
回答(1 个)
BhaTTa
2025-3-21
Hey @Lucas Fonseca, Please follow below steps to delete year and month text created with gregax in the figures
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!