[..] La fonction [jdg] stepscl

Code
int step_jdg(){ scltracefa(§, ƒ, ); scltracefc("scl-%s (%s) : %s\n\n", sclver(), sclsec(), temps_char(0)); int xn=1001, xi;double *x=newtablin(xn, -4, 4); double *y=new double[xn]; double Φ = sclphi(); for(xi=0;xi<xn;xi++){ y[xi] = step(x[xi], Φ); } scl::string_c imgname=scl::string_c(ƒ)+".svg", imgpath="./srt/"+imgname; graf_dis(imgpath.c_str(), xn, x, y, "grid", "on", "title", "Heaviside's step function", "subtitlex", imgname.c_str(), /*"subtitle", subtitle.c_str(),*/ "linespec", "-h", "linespeca", "-a", "background-color", "w", "aymin", -0.1, "aymax", 1.1, /*"xlabel", "[rad]",*/ ); scltracefe(§, ƒ, ); return 0; } /* ƒ décorée par 🔬 le 07-03-2026 11:12:41 */
Sortie
[>..\xpl\src\scl.jdg.cpp.step_jdg] scl-26.03 (gwin64) : 07-03-2026 11:12:41 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< << END OF DISLIN / VERSION 11.3.2 << << Date : 07.03.2026 Time : 11:12:41 Pageformat: DA4L << << Vectors : 2196 Warnings: 0 Fileformat: SVG << << Metafile: ./srt/step_jdg.svg << <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< [<..\xpl\src\scl.jdg.cpp.step_jdg]