- scl.jdg [c+]
[..] La fonction [jdg] fresnintscl 
Code
int fresnint_jdg(){
scltracefa(§, ƒ, ∅);
scltracefc("scl-%s (%s) : %s\n\n", sclver(), sclsec(), temps_char(0));
int xn=1001, xi; double *x=newtablin(xn, 0, 5);
double *y_c=new double[xn], *y_s=new double[xn];
for(xi=0;xi<xn;xi++){
fresnint(x[xi], &y_c[xi], &y_s[xi]);
}
scl::string_c imgname=scl::string_c(ƒ)+".svg",
imgpath="./srt/"+imgname;
graf_dis(imgpath.c_str(), xn, x, y_c,
"curve", xn, x, y_s,
"grid", "on",
"title", "Fresnel's integrals",
"subtitlex", imgname.c_str(), /*"subtitle", subtitle.c_str(),*/
"linespec", "--t;-h", "linespeca", "-a",
"axmin", -0.3, "axmax", 5.3,
"aymin", -0.03, "aymax", 1.03,
"legend", "C(x);S(x)", "legcorn", "lra",
"background-color", "w",
/*"xlabel", "[rad]",*/ ∅);
scltracefe(§, ƒ, ∅);
return 0;
}
/* ƒ décorée par
le 05-06-2026 13:15:19 */
Sortie
[>..\xpl\src\scl.jdg.cpp.fresnint_jdg]
scl-26.05 (gwin64) : 05-06-2026 13:15:19
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<< END OF DISLIN / VERSION 11.3.2 <<
<< Date : 05.06.2026 Time : 13:15:19 Pageformat: DA4L <<
<< Vectors : 2864 Warnings: 0 Fileformat: SVG <<
<< Metafile: ./srt/fresnint_jdg.svg <<
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[<..\xpl\src\scl.jdg.cpp.fresnint_jdg]