Add Text Subscript to Table string
22 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Steven Lord
il 28 Set 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 Commento
Vedere anche
Categorie
Scopri di più su Environment and Settings in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!