Erase year and month text created with gregax

3 ビュー (過去 30 日間)
Lucas Fonseca
Lucas Fonseca 2022 年 4 月 11 日
回答済み: BhaTTa 2025 年 3 月 21 日
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

回答 (1 件)

BhaTTa
BhaTTa 2025 年 3 月 21 日
Hey @Lucas Fonseca, Please follow below steps to delete year and month text created with gregax in the figures
  • 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.

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

製品


リリース

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by