[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: local macro
Höchle, Daniel (MI Switzerland) <email@example.com>
st: local macro
Fri, 13 Jun 2008 15:16:17 +0200
In order to place text "here-->" in a -twoway line- graph at x-value 250 and y-value 100 one types
. twoway (line Yvals Xvals, sort), ttext(100 250 "here-->", orientation(vertical))
I would like to automize the placement of text messages in -twoway line- graphs (sometimes there are 5 or more observations that I would like to mark). Therefore, I would like to create a local macro (MarkStr) which contains the content of the -ttext- option. Unfortunately, however, I do not manage to fill in double quotes in local macros.
While I can produce local macro MarkStr with content "100 250 here-->" by typing
. local MarkStr "100 250 here-->"
I do not manage to produce a macro containing the string: "100 250 "here-->""
Any idea on how to solve this issue or to more efficiently mark certain points in line graphs would be greatly appreciated.
Thanks a lot for your help.
Any information in this communication is confidential and may be privileged or otherwise protected from disclosure without our consent. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it. You are requested to please telephone or email the sender and delete this message and any attachment from your system.
Due to the electronic nature of e-mail, there is a risk that the information contained in this message has been modified. Consequently we can accept no responsibility or liability as to the completeness or accuracy of the information.
* For searches and help try: