Hi
Is there a way to build graphs directly from Mata.
I mean without first moving graph data into Stata.
An example could be making a scatter plot based on 2 vectors or 2 columns/rows in a matrix.
Or a boxplot from a vector.
I've been using -svmat- to get graph data from a matrix into the used dataset of Stata after saving the current dataset by either -preserve- or -tempfile-.
This I did with matrix data in Stata, but I'm going to use Mata more and more and came to wonder whether there is a more direct way.
Looking forward to hear your suggestions.
Is there a way to build graphs directly from Mata.
I mean without first moving graph data into Stata.
An example could be making a scatter plot based on 2 vectors or 2 columns/rows in a matrix.
Or a boxplot from a vector.
I've been using -svmat- to get graph data from a matrix into the used dataset of Stata after saving the current dataset by either -preserve- or -tempfile-.
This I did with matrix data in Stata, but I'm going to use Mata more and more and came to wonder whether there is a more direct way.
Looking forward to hear your suggestions.
Comment