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: removing value lables in catplot
From
Nick Cox <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: removing value lables in catplot
Date
Tue, 25 Mar 2014 12:15:12 +0000
So, you want to draw a graph and make the categories anonymous?
???
The -rlabel()- option of -graph bar- etc. does not seem to believe
empty strings as a replacement so I guess you need to get into the
Graph Editor and zap them one by one.
I am quite pleased that -catplot- makes this difficult.
Nick
[email protected]
On 25 March 2014 12:08, simone pedemonte <[email protected]> wrote:
> Sorry for the inaccuracy of my question. I did try that, but I still
> get numbers referring to the variable categories. Is there way to
> remove all labels?
>
> Simone
>
> On Tue, Mar 25, 2014 at 11:54 AM, Nick Cox <[email protected]> wrote:
>> -catplot- (SSC) is a user-written command, as you are asked to explain.
>>
>> In -catplot- as with -graph bar|hbar|dot- the y axis is the frequency
>> (probability, percent) axis, regardless of whether that is vertical or
>> horizontal.
>>
>> I suspect you mean the other axis. Consider the results of
>>
>> . sysuse auto, clear
>> (1978 Automobile Data)
>>
>> . catplot foreign rep78
>>
>> . gen origin = foreign
>>
>> . catplot origin rep78
>>
>> to see that you just need a copy of a variable that is not associated
>> with value labels in order not to see value labels.
>>
>> Nick
>> [email protected]
>>
>>
>> On 25 March 2014 11:22, simone pedemonte <[email protected]> wrote:
>>> Hi everyone,
>>>
>>> I have a catplot with percentages on the x-axis and categories on the
>>> y-axis. I would like to remove any label from the y-axis. I am not
>>> able to understand how. Can anyone help? Sorry if it is a stupid
>>> question.
>>>
>>> Best,
>>>
>>> Simone
>>> *
>>> * 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/
*
* 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/