How can I copy a MATLAB figure to ms word while retaining figure labels?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Abdulrahaman Lawal Suleiman
le 20 Mar 2023
Commenté : Abdulrahaman Lawal Suleiman
le 22 Mar 2023
I labelled the x-axis of the MATLAB figure as follows:
xlabel(['Ambient temperature, ',char([0xD835 0xDF0F]),''])
However, the unicode character (\tau) is missing in the copied figure. Please what should i do?
3 commentaires
Réponses (1)
Adam Danz
le 20 Mar 2023
Modifié(e) : Adam Danz
le 20 Mar 2023
copygraphics is a quick and easy way to copy a figure or axes to the clipboard so you can paste it into a document. For example, if you're copying the entire figure,
copygraphics(fig)
where fig is the figure handle. Then paste into word. I tested it with your xlabel and had no issues.
Also, here's a simplified alternative to your xlabel, though the tau character may be slightly different,
xlabel('Ambient temperature, \tau')
Voir également
Catégories
En savoir plus sur Graphics Object Properties dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!