Statalist


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

Re: st: newbie request for advice regarding matrix


From   "Austin Nichols" <[email protected]>
To   [email protected]
Subject   Re: st: newbie request for advice regarding matrix
Date   Mon, 12 Jan 2009 12:42:59 -0500

Jacob Wegelin <[email protected]>:
The easy way is to use -svmat- as you have; there is no need to -save-
or -clear- though you might have to create some temporary names if
your column names match existing variable names, e.g.
 sysuse auto, clear
 matrix A = (2,1\3,2\-2,2)
 ren turn A1
 tempvar a1 a2
 mat colnames A=`a1' `a2'
 svmat A, names(col)
 sc `a1' `a2'

For the beginning of info on low-level data structures for building
graphs, see -help serset-

On Mon, Jan 12, 2009 at 12:30 PM, Jacob Wegelin <[email protected]> wrote:
> Can one easily plot two columns of a Stata matrix against each other?
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index