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: xtick
From
[email protected]
To
"[email protected]" <[email protected]>
Subject
Re: st: xtick
Date
Thu, 12 Sep 2013 06:37:01 +0100
Check out -recode-.
Nick
[email protected]
On 11 Sep 2013, at 18:35, "Valle, Giuseppina" <[email protected]> wrote:
> Thanks, but even when I use " xtick(1 2 3 4) xla(1/4, val)" I still get the labels out of order on the x axis. It currently has:
>
> Normative Early Late Never, which correspond with 1 2 3 4
>
> But I want it to appear:
>
> Early Normative Late Never, which correspond with 2 1 3 4
>
> Thanks,
> Pina
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
> Sent: Wednesday, September 11, 2013 11:36 AM
> To: [email protected]
> Subject: Re: st: xtick
>
> Sounds as if you want -xla(1/4, val)-
>
> Nick
> [email protected]
>
> On 11 Sep 2013, at 16:42, "Valle, Giuseppina" <[email protected]> wrote:
>
>> Hello. I am graphing the following:
>>
>> marginsplot, title("Timing ") ///
>> xtick(1 2 3 4) ///
>> ytitle("Relationship Conflict")
>>
>> However, is it possible to have the xtick be reordered? Since I have labels= attached to these, I want it to actually show up as "2 1 3 4" on my x-axis= . Is this possible? I tried using "xtick(2 1 3 4)," but that didn't seem to= work.
>
> *
> * 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/
>
> *
> * 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/
*
* 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/