1

I've a problem with the following file

input graph 
  u=0.5cm; 
beginfig(0); 
draw dashpattern(on 5bp); 
picture pa; 
pa=currentpicture; 
currentpicture:=nullpicture; 
draw dashpattern(on 5bp off 2bp); 
picture pb; 
pb=currentpicture; 
currentpicture:=nullpicture; 
draw dashpattern(on 1bp off 2bp); 
picture pc; 
pc=currentpicture; 
currentpicture:=nullpicture; 
draw dashpattern(on 5bp off 2bp on 1bp off 2bp); 
picture pd; 
pd=currentpicture; 
currentpicture:=nullpicture; 
draw dashpattern(on 5bp off 2bp on 5bp off 2bp on 1bp off 2bp on 1bp off 2bp); 
picture pe; 
pe=currentpicture; 
currentpicture:=nullpicture; 
draw dashpattern(on 5bp off 2bp on 5bp off 2bp on 1bp off 2bp ); 
picture pf; 
pf=currentpicture; 
currentpicture:=nullpicture; 
draw dashpattern(on 1bp off 2bp on 1bp off 2bp on 5bp off 2bp ); 
picture pg; 
pg=currentpicture; 
currentpicture:=nullpicture; 
  draw begingraph(6cm,6cm); 
  glabel.lft(btex Throughput (bps) etex rotated 90, OUT); 
  glabel.bot(btex sources etex, OUT); 
  gdraw "thr_olsrmos_20_30_300_0.05_1.txt"  withcolor 0.75black dashed pa; 
  draw (12, 1)*u--(14, 1)*u withcolor 0.75black dashed pa; 
  label.bot(btex T=1 Delta=0.05 etex scaled 0.5, (13, 1)*u); 
  label.top(btex OLSR-MOS: etex scaled 0.5, (13, 2)*u); 
  gdraw "thr_olsr_20_30_300.txt" withcolor 0.75red; 
  draw (12, 8)*u--(14, 8)*u withcolor 0.75red; 
  label.bot(btex OLSR etex scaled 0.5, (13, 8)*u); 
  autogrid(grid.bot,grid.lft) withcolor 0.95white; 
  frame.llft; 
  gdraw "thr_olsrmos_20_30_300_0.05_1.txt"  withcolor 0.75black dashed pa; 
  draw (12, 1)*u--(14, 1)*u withcolor 0.75black dashed pa; 
  label.bot(btex T=1 Delta=0.05 etex scaled 0.5, (13, 1)*u); 
  label.top(btex OLSR-MOS: etex scaled 0.5, (13, 2)*u); 
  gdraw "thr_olsr_20_30_300.txt" withcolor 0.75red; 
  draw (12, 8)*u--(14, 8)*u withcolor 0.75red; 
  label.bot(btex OLSR etex scaled 0.5, (13, 8)*u); 
  endgraph; 
endfig; 
end

Can someone help my please ?

closed as unclear what you're asking by Aditya, Claudio Fiandrino, Ludovic C., Thorsten, Martin Schröder Nov 18 '13 at 16:51

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Hi, welcome to TeX.SX. I added the code to your post, it's better when the question is self-contained. Also, what exactly is the problem? – Torbjørn T. Nov 12 '13 at 17:39
  • 2
    It's impossible to tell without knowing what's in the two .txt files. Please add at least a sample of them. – egreg Nov 12 '13 at 18:24

Browse other questions tagged or ask your own question.