- scl.jdg [c+]
[..] La conception [jdg] wsawscl
Code
int wsaw_jdg(){
scltracefa(§, ƒ, ∅);
scltracefc("scl-%s (%s) : %s\n\n", sclver(), sclsec(), temps_char(0));
int wn=1001, wi;
double *wtp=newtablin(wn, 0, 3*2*π);
double *wsw=new double[wn];
for(wi=0;wi<wn;wi++){
wsw[wi]=wsaw(wtp[wi]);
}
scl::string_c imgname=scl::string_c(ƒ)+".svg",
imgpath="./srt/"+imgname;
graf_dis(imgpath.c_str(), wn, wtp, wsw, "grid", "on",
"title", "Saw 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 18-04-2026 19:03:19 */
Sortie
[>..\xpl\src\scl.jdg.cpp.wsaw_jdg]
scl-26.04 (gwin64) : 18-04-2026 19:03:19
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<< END OF DISLIN / VERSION 11.3.2 <<
<< Date : 18.04.2026 Time : 19:03:19 Pageformat: DA4L <<
<< Vectors : 2221 Warnings: 0 Fileformat: SVG <<
<< Metafile: ./srt/wsaw_jdg.svg <<
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[<..\xpl\src\scl.jdg.cpp.wsaw_jdg]