Next: TextMark sample, Previous: Error sample, Up: 1D samples [Contents][Index]
Function mark draw markers at points. It is mostly the same as Plot
but marker size can be variable. The sample code is:
int sample(mglGraph *gr) { mglData y,y1; mgls_prepare1d(&y,&y1); gr->SubPlot(1,1,0,""); gr->Title("Mark plot (default)"); gr->Box(); gr->Mark(y,y1,"s"); return 0; }