graph.textdefault-bug?
Posted: Fri Nov 19, 2010 3:42 am
Hi,
I want to have the font-size of text-objects in a graph different from the defaults set by Options | Graphics default.
I thought graph.textdefault should take care of it, but it doesn't
This changes all text-object in the graph to the default values set by Options | Graphics default. However, documentation says:
This too delivers the text-object in size set by Options | Graphics default.
Of course, I could set the font-size together with the addtext-command, but my problem is that I already have the text object and want to change font size afterwards.
Thanks,
Dagfinn
I want to have the font-size of text-objects in a graph different from the defaults set by Options | Graphics default.
I thought graph.textdefault should take care of it, but it doesn't
Code: Select all
testgraph.textdefault font(30) existing
An alternative interpretation of documentation could call for.Additionally, the "existing" keyword specifies that existing text objects in the graph will be updated with the current text settings.
Code: Select all
testgraph.textdefault font(30)
testgraph.addtext(t) "TestTest"
Of course, I could set the font-size together with the addtext-command, but my problem is that I already have the text object and want to change font size afterwards.
Thanks,
Dagfinn