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   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: removing value lables in catplot
Date   Tue, 25 Mar 2014 11:54:57 +0000

-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/


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