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]

AW: st: Changing title with by option ?


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   AW: st: Changing title with by option ?
Date   Thu, 15 Jul 2010 11:57:24 +0200

<> 


Hellen Kim may want to bear in mind that the graph editor can be used as a
last resort to "nudge" the graph into its final shape. This may be less
timeconsuming than finding the right options to automate the task entirely.
Everything depends on whether this is a one-off or whether the process
should be repeated time and again.


There is also the option of recording the changes made to -play()- them
later on. Also note http://www.stata-journal.com/article.html?article=gr0042
by Maarten and myself...


HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Heekyung Hellen
Kim
Gesendet: Donnerstag, 15. Juli 2010 11:47
An: [email protected]
Betreff: RE: st: Changing title with by option ?

Thank you !!

Is there any way that I can give subtitles different to each graph?  

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Eric Booth
Sent: Thursday, July 15, 2010 12:27 AM
To: <[email protected]>
Subject: Re: st: Changing title with by option ?

<>

Label your values.  See -help label-.


******************!
clear
inp x y category
10 25 1
12 10 2
15 5 3
10 20 1
11 33 2
14 12 3
20 20 1
end

**label values**
lab def ll 1 "my category A" 2 "my category B" 3 "my category C", modify
lab val category ll
ta category
la li

**Also, note the difference between labels of the "by" categories and
titles:
scatter y x, by(category, rows(1))   ///
       title("{bf:TITLE GOES HERE}" "{stSerif:-Subtitle here-}" "{it:3
{sup:rd} line here}")
******************!
~ Eric

__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
[email protected]
Office: +979.845.6754


On Jul 14, 2010, at 10:38 PM, Heekyung Hellen Kim wrote:

> I want to rename the title of each graph with by option.  How do I do it?
> 
> For example,
> Scatter y x, by(Category)
> 
> Category has the value, 1, 2, and 3.  This does put the title on each
graph
> by 1, 2, and 3.  But I want to describe the title in words instead of the
> number.  How can I do it? 
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/




*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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