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: removing value lables in catplot


From   simone pedemonte <[email protected]>
To   [email protected]
Subject   Re: st: removing value lables in catplot
Date   Tue, 25 Mar 2014 12:29:22 +0000

Good to know. Thank you. What I want is to put two catplots side by
side in Latex, both having the same categories on the vertical axis. I
think it should be enough to have the categories show in the left
graph, no?

Simone

On Tue, Mar 25, 2014 at 12:15 PM, Nick Cox <[email protected]> wrote:
> That is -relabel()-.
> Nick
> [email protected]
>
>
> On 25 March 2014 12:15, Nick Cox <[email protected]> wrote:
>> 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/
*
*   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