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: RE: Parplot with value labels


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Parplot with value labels
Date   Fri, 30 Apr 2010 19:16:43 +0100

That's one of mine. I don't think so. In order to draw the parallel
coordinates plot, the data have to be restructured. It's not easy to add
stuff on top of that without re-writing -parplot-. 

But you can do it directly -- given commands introduced since -parplot-
was first written, I think:

. gen one = 1

. gen two = 2

. scatter headroom one, mla(headroom)  || scatter gear_ratio two,
mla(gear) || pcspike head one gear two

etc. 

Nick 
n.j.cox@durham.ac.uk 


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Friedrich
Huebler
Sent: 30 April 2010 19:10
To: statalist@hsphsun2.harvard.edu
Subject: st: Parplot with value labels

Can -parplot- from SSC show the values for individual points in the
graph? The graph below has four data points and I would like to show
the value for each observation next to the marker.

. sysuse auto
. keep if _n<3
. parplot headroom gear_ratio, transform(raw)

Thanks,

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

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