Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Drawing graphs from Mata

    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.
    Kind regards

    nhb

  • #2
    Although it isn't an answer, I'd also be interested in this and/or ways that the graphics engine in Stata could be modified to avoid turning to other platforms for creating graphs.

    Comment


    • #3
      In particular to be able to use transparency (alpha blending). For some wishfull examples, see:
      Psychologie, Workshops, Motivation, Evolution
      http://publicationslist.org/eric.melse

      Comment


      • #4
        mm_plot() from the moremata package would be a solution, although in reality it is Stata which does the job.

        Comment

        Working...
        X