[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
9.1.2 Radar sample
C++ code
mglData y(10,3); y.Modify("0.4*sin(pi*(2*x+y/2))+0.1*rnd"); gr->Radar(y,"#");
MGL code
new y 10 3 modify y '0.4*sin(pi*(2*x+y/2))+0.1*rnd' radar y '#'
Pure C code
HMDT y = mgl_create_data_size(10,3,1); mgl_data_modify(y,"0.4*sin(pi*(2*x+y/2))+0.1*rnd",0); mgl_radar(gr,y,"#",-1); mgl_delete_data(y);
Fortran code
integer y, mgl_create_data_size y = mgl_create_data_size(10,3,1) call mgl_data_modify(y,'0.4*sin(pi*(2*x+y/2))+0.1*rnd',0) call mgl_radar(gr,y,'#',-1.) call mgl_delete_data(y)
Python
y = mglData(10,3); y.Modify("0.4*sin(pi*(2*x+y/2))+0.1*rnd"); gr.Radar(y,"#");