- scl.jdg [c+]
[..] La conception [jdg] wtriscl
Code
int wtri_jdg(){
scltracefa(§, ƒ, ∅);
scltracefc("scl-%s (%s) : %s\n\n", sclver(), sclsec(), temps_char(0));
int wn=1001, wi;
double *wtp=newtablin(wn, -3*π, 3*π);
double *wsw=new double[wn];
for(wi=0;wi<wn;wi++){
wsw[wi]=wtri(wtp[wi]);
}
scl::string_c imgname=scl::string_c(ƒ)+".svg",
imgpath="./srt/"+imgname;
graf_dis(imgpath.c_str(), wn, wtp, wsw, "grid", "on",
"title", "Triangular wave",
"subtitlex", imgname.c_str(),
"linespec", "-l", "linespeca", "-a",
"background-color", "w",
"aymin", -1.1, "aymax", 1.1,
"xlabel", "wtp [rad]", ∅);
scltracefe(§, ƒ, ∅);
return 0;
}
/* ƒ décorée par
le 19-04-2026 20:26:11 */
Sortie
[>..\xpl\src\scl.jdg.cpp.wtri_jdg]
scl-26.04 (gwin64) : 19-04-2026 20:26:11
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<< END OF DISLIN / VERSION 11.3.2 <<
<< Date : 19.04.2026 Time : 20:26:11 Pageformat: DA4L <<
<< Vectors : 2230 Warnings: 0 Fileformat: SVG <<
<< Metafile: ./srt/wtri_jdg.svg <<
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[<..\xpl\src\scl.jdg.cpp.wtri_jdg]