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: plotting values from Mata matrix


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: plotting values from Mata matrix
Date   Tue, 29 Mar 2011 13:23:47 +0100

You can draw a graph using temporary variables. Many graph commands do
this in practice.

Or you could use -twoway pci-.

Either way, you have to get those values out of Mata into Stata.

Nick

On Tue, Mar 29, 2011 at 12:53 PM,  <[email protected]> wrote:

> I am having trouble with the following: I've written a procedure in Mata that
> generates a matrix with paired coordinates which I want to plot using
> -twoway graph pcspike- in Stata. My goal is to include it as an optional
> automated graph in another estimation program (.ado file) and I want to avoid
> creating extra variables in the dataset in Stata. So my question is: what would
> be a good strategy to do this ?
*
*   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