Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: label one variable using values from another variable when you have nonintegers


From   Felipe Benguria <fb4k@virginia.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: label one variable using values from another variable when you have nonintegers
Date   Thu, 11 Oct 2012 14:07:08 -0400

Hi,

      I have data that looks like the following and I want to make a
graph using yaxis vs xavis data:


"yaxis"  "xaxis"    "desired x axis to appear on graph (only as label)"

10          1.1           11
9            1.4           14
12           1.9           19
15           2.1           21

Labmask, suggested in other posts, does not work, since I cannot assign a
label for the second column using the third column, since the second column
has non-integers.

I have not been able to find an alternative, and would appreciate your help

Regards,
Felipe
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index