Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: graph text box: special character


From   Friedrich Huebler <[email protected]>
To   [email protected]
Subject   Re: st: RE: graph text box: special character
Date   Wed, 11 Sep 2013 10:42:51 -0400

It would be helpful if you could provide more information than "that
doesn't seem to work".

. sysuse auto
. scatter mpg weight, text(25 3500 "x: value of...", place(3)
just(left)) text(26 3500 "_", size(small) place(3) just(left))

See -help added_text_options- and -help textbox_options-.

Friedrich

On Wed, Sep 11, 2013 at 9:55 AM, Nick Bornschein
<[email protected]> wrote:
> It nearly worked, but: I want to add some other text after the X-bar like
> this "x: value of...". That doesn't seem to work.
>
>
> Am 10.09.13 18:47, schrieb Friedrich Huebler:
>>
>> Nick,
>>
>>
>> Did you read my message? I showed you a solution via do-file.
>>
>> http://www.stata.com/statalist/archive/2013-09/msg00394.html
>>
>> Friedrich
>>
>>
>> On Tue, Sep 10, 2013 at 12:08 PM, Nick Bornschein
>> <[email protected]> wrote:
>>>
>>> Hi Joe,
>>>
>>> I thought it would be possible to solve the problem via do-File because I
>>> need to create more than one graph und it would take some time if I would
>>> change all "X"-bar symbols manually.
>>>
>>> Best
>>> -Nick
>>>
>>>
>>> Am 09.09.13 18:50, schrieb Joe Canner:
>>>>
>>>>
>>>> Nick,
>>>>
>>>> Try using "X" (capital x) and then switching the font in the graph
>>>> window
>>>> (Edit->Preferences) to a Symbol font.
>>>>
>>>> On my Windows installation of Stata, the default font is Arial and the
>>>> Arial Symbol font has X-bar instead of X.
>>>>
>>>> Regards,
>>>> Joe Canner
>>>> Johns Hopkins University School of Medicine
>>>>
>>>> -----Original Message-----
>>>> From: [email protected]
>>>> [mailto:[email protected]] On Behalf Of Nick
>>>> Bornschein
>>>> Sent: Monday, September 09, 2013 7:35 AM
>>>> To: [email protected]
>>>> Subject: st: graph text box: special character
>>>>
>>>> Hi,
>>>>
>>>> I'm trying to put a text box inside a Stata graph containing the symbol
>>>> "x
>>>> with the line above" for mean into the box. After some tests I figured
>>>> out
>>>> how to put some special characters and greek symbols in the box as in
>>>> this
>>>> example:
>>>>
>>>> twoway (line miles id, sort), text(16 5 "{&chi}{sup:2}: `m_cal_min' ")
>>>>
>>>> but I couldn't find the symbol for mean.
>>>> Hope somebody can help me.
>>>>
>>>> Best
>>>> -Nick
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index