Add Text Subscript to Table string
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello:
Say I have a composite.
The composite has a layup [0 90 0 90 0_8]
I am trying to output this layup into a table using the table() function. This is my current output:
Example="[0 90 0 90 0 90 0_8]"
T=table(Example,'RowName',"Layup Orientation")
I want the 8 to be a subscript on the 0. How do I do this?
Thank you very much,
Luck
0 commentaires
Réponses (1)
Steven Lord
le 28 Sep 2022
You don't. The text in the table doesn't have any sort of formatter or interpreter associated with it; it's a collection of characters.
If you were to specify that as the appropriate property of a Handle Graphics object, an object with something like an Interpreter property, you could tell it to interpret the string differently when that object displays it. For instance, a plot's Title is a text object with an Interpreter property.
title("[0 90 0 90 0 90 0_8]", 'Interpreter', 'Tex')
1 commentaire
Luck Haviland
le 28 Sep 2022
Modifié(e) : Luck Haviland
le 28 Sep 2022
Voir également
Catégories
En savoir plus sur Assembly 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!