Sorry for this.
Here is the according file. Just 2 column of numbers to plot.
16.93429581 17.08794271
39.91477806 11.5140781
25.84303601 15.29926581
29.02100495 22.51433344
44.2082181 20.02069787
17.44431352 6.71762636
4.597520054 2.320767331
19.03839935 18.60809407
34.21582138 29.65482603

I have then enclosed everything related to this figure.
Please excuse my poor coding skills.
Cheers,
Louis-Solal



2016-09-01 10:50 GMT+02:00 Hans Hagen <pragma@wxs.nl>:
On 9/1/2016 10:11 AM, Louis-solal Giboin wrote:
Dear all,
I have updated my OS to El Capitan, and all my scripts including MPgraph
functions such as gdata do not work anymore (script without such
functions are working without any trouble).
Would someone know how to get rid of this issue?
I thank you very much.

a short code sample:

x:=u*1cm;

a1:=6;

a2:=5;

hauteury:=a1*y;

echelleMEP:=1/10*hauteury/a2;


gdata("explexpl.d",s,

y1:= scantokens(s1);

y2:= scantokens(s2);

draw (7.5*x, y1*echelleMEP)--(8.5*x, y2*echelleMEP) withcolor 0.6 white;

);

incomplete ... how is this called ... what is explexl.d



-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________