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]

st: line graph


From   A. Berâ <[email protected]>
To   [email protected]
Subject   st: line graph
Date   Thu, 17 Nov 2011 10:45:49 +0200

Dear Stata Users,

I have three variables as below.

y	x	z
1	1.0000	-1.0000
2	0.5000	-0.5000
3	0.3333	-0.3333
4	0.2500	-0.2500
5	0.2000	-0.2000
6	0.1667	-0.1667
7	0.1429	-0.1429
8	0.1250	-0.1250
9	0.1111	-0.1111
10	0.1000	-0.1000

I would like to produce a line graph of Y vs Z but I would like Z to
have the values of X as value labels. Is this possible? I tried the
following but it did not work. Thanks.

.labmask z. , values(x)
may not label non-integers

--
a. berâ

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