graphic, triggergraphic, chart

Description Properties Methods Constants Examples See also






Description


The graphic, triggergraphic and chartgraphic objects give access to the three graphic windows in QuB: the Graphic, the TriggerGraphic, and the Chart.
There is one predefined object of each type, called graph, tgraph and chart, respectively. For most applications, declaring new graphic objects should not be necessary.



Properties


graphic triggergraphic chartgraphic



graphic Properties


c = pointcount(trace, page);
pointcount(trace, page) = c;




c = tracecount(page);



n = tracename(trace, page);
tracename(trace, page) = n;




n = pagename(page);
pagename(page) = n;




n = xaxisname(page);
xaxisname(page) = n;




n = yaxisname(page);
yaxisname(page) = n;




x = xmin(page);
xmin(page) = x;




x = xmax(page);
xmax(page) = x;




y = ymin(trace, page);
ymin(trace, page) = y;




y = ymax(trace, page);
ymax(trace, page) = y;




xv = x(trace, point, page);
x(trace, point, page) = xv;




yv = y(trace, point, page);
y(trace, point, page) = yv;




d = drawpoints(trace, page);
drawpoints(trace, page) = d;




d = drawline(trace, page);
drawline(trace, page) = d;




c = colortrace(trace, page);
colortrace(trace, page) = c;




c = colorback(page);
colorback(page) = c;




c = colorframe(page);
colorframe(page) = c;




c = colorpanel(page);
colorpanel(page) = c;






triggergraphic Properties


c = pointcount(trace);
pointcount(trace) = c;




c = tracecount;



f = firstpoint(trace);
firstpoint(trace) = f;




l = lastpoint(trace);
lastpoint(trace) = l;




n = tracename(trace);
tracename(trace) = n;




n = pagename;
pagename = n;




n = filename;
filename = n;




y = ymin(trace);
ymin(trace) = y;




y = ymax(trace);
ymax(trace) = y;




xv = x(trace, point);
x(trace, point) = xv;




yv = y(trace, point);
y(trace, point) = yv;




c = colortrace(trace);
colortrace(trace) = c;




c = colorback;
colorback = c;




c = colorframe;
colorframe = c;




c = colorpanel;
colorpanel = c;




c = drawcount(trace);
drawcount(trace) = c;






chartgraphic Properties


s = sampling;
sampling = s;




s = scaling;
scaling = s;




r = isrunning;



r = isrecording;
recording = r;




c = recordedcount;



c = currpoint;



c = pointcount;
pointcount = c;




c = tracecount;



n = tracename(trace);
tracename(trace) = n;




s = tracescale(trace);
tracescale(trace) = n;




u = traceunits(trace);
traceunits(trace) = u;




c = colortrace(trace);
colortrace(trace) = c;




c = colorback;
colorback = c;




c = colorframe;
colorframe = c;




c = colorpanel;
colorpanel = c;




n = filename;
filename = n;




m = ymin(trace);
ymin(trace) = m;




m = ymax(trace);
ymax(trace) = m;




c = listcount;



c = selectioncount({listname|listindex});





Methods


graphic triggergraphic chartgraphic



graphic Methods


setpoint(trace = t, point = p, x = xv, y = yv, page = pg);



draw(page);



loadtrace(filename = f, trace = t, page = p);



savetrace(filename = f, trace = t, page = p);



ss = calcss(trace1 = t1, trace2 = t2, x1 = xf, x2 = xl, dx = d, page = p);



copytrace(source = g, sourcepage = sp, sourcetrace = st, page = p, trace = t, factor = f, offset = o, everynpoints = n, copymode = m);





triggergraphic Methods


setpoint(trace = t, point = p, x = xv, y = yv);



draw;



savetrace(filename = f, trace = t);



copytrace(sourcetrace = st, trace = t, factor = f, offset = o, copymode = m);





chartgraphic Methods


resetbuffer;



addlist({listname|listindex});



clearlists;



clearlist({listname|listindex});



addselection(list = {name|index}, first = f, last = l, name = n);



beginselection(list = {name|index}, name = n);



endselection;





Constants




Examples




See also





(C) 2008 Lorin Milescu. Last modified: 01-15-09