Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Metapost graphs

Vishnu
2011-09-08
2012-10-17
  • Vishnu
    Vishnu
    2011-09-08

    Hi,

    I am facing a problem with graphs in Metapost. Some problem with it both using
    MiKTeK 2.8 and 2.9. Here are the simple graph commands I am trying, these are
    the opening commands of the every tutorial available online on plotting graphs
    using metapost.

    input graph
    beginfig(1);
    draw begingraph(3in,2in);
    gdraw "data.d";
    endgraph;
    endfig;
    end;

    "data.d" contains two columns of data. The above commands are saved in a .mp
    file, I routine use
    .mp files to draw figures in Metapost so everything else
    with metapost works except graphs. I have a tried a lot but to no avail. I
    would appreciate any help.
    --
    Vishnu