Menu

how do I use mathgl with octave?

Help
Anonymous
2012-03-23
2012-10-16
  • Anonymous

    Anonymous - 2012-03-23

    yeah, so it's probably a stupid question but forgive my ignorance :)
    so I downloaded mathgl-1.11.2.tar.gz file and extracted it. Went into the
    mathgl folder and did the following:
    ./configure --enable-octave
    make
    make install
    and it seemed to have run fine (some warnings about PACKAGE being redined, but
    it went on anyways).
    so assuming I did everything right (a big assumptions for sure), how do I
    actually use it in octave?
    I tried a simple octave plot, but from what I can tell all I got was the
    normal gnuplot (which is sucky)

     
  • Anonymous

    Anonymous - 2012-03-23

    oh my... forgot the manners. Thank-you for any help, it's much appreciated :)

     
  • Alexey Balakin

    Alexey Balakin - 2012-03-26

    Hi!
    First you need to install the mathgl package into octave. To do it just
    execute

    sudo octave
    

    and run in octave

    pkg install /usr/share/mathgl/octave/mathgl.tar.gz
    

    Any samples suitable for Python should work in Octave too (see http://mathgl.
    sourceforge.net/mathgl_en/mathgl_en_89.html).

     

Log in to post a comment.