Why does textbox have 3 reserved words?
Mostrar comentarios más antiguos
This is more idle curiosity than a problem to solve, whilst reading the documentation on textbox annotation I saw the note on 3 reserved words.
Being the inquisitive idiot I am I tried the following.
annotation(gcf,'textbox','String','factory')
resulting in blank textbox as the word factory is deleted, as described by the documentation. Just curious I then tried
annotation(gcf,'textbox','String','factory of the future')
Which works and displays the full text, so the string has to be the single word, no more no less. The three words being remove, default & factory.
I noticed you could escape the word hence '\factory' so that it will print so I thought it might have something to do with the Interpreter so I set that to 'none'. That didn't make any difference.
So I'm left puzzling why those three words? What is their signicance and why do they need to be removed?
My final idle thought with three words was to see if it was some subtle easter egg or GCHQ entrance puzzle but 'What three words' gives various locations, depending on the order, in Utah, Dakota, Minnisota or Michigan.

Respuesta aceptada
Más respuestas (0)
CategorÃas
Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!