I wonder if anyone knows how to "wrap" the text of a title when creating figures and graphs.
See the mock example below:
Code:
sysuse auto, * this is what i get scatter price mpg, title("This is a very long title that I hope will adjust, but it may not if it is not long enough, so I add more text") * This is something similar to what I would like to get: scatter price mpg, title("This is a very long title that I hope will adjust," "but it may not if its not long enough, so I add more text")
The caveat: the title is given by the variable description, thus, I do not know how to break the text for the title, considering it will be obtained using locals.
In other words, I would like to know if there is an equivalent to a "wrapping" function when the text of a title exceeds the width of the graph region.
Thank you in advance.
Fernando
0 Response to How to wrap text in title for a two way graph
Post a Comment