Alphabetical list Categories
qecoplot Economically plot large datasets
Help text:

qecoplot(xx, yy, n) plots the data (xx,yy) using SAMPLEMINMAX to reduce data length to the given number of points.
The results are plotted as a qpatch.
It is mandatory that xx is uniformly spaced.
qecoplot(x0, dx, yy, n) specifies x-coordinates in a more efficicient
way: xx = (x0, x0+dx, x0+2*dx, ...).
If n is omitted, it defaults to 100.
Note: This is the kind of plot that MEABench calls "TrueBlue".

Example:

qfigure('qecoplot', 3, 3);

N=1e6;

tt=[1:N];

yy=(mod(tt,100000)==30000)-(mod(tt,130000)==45000)+randn(1,N)/15;

qpen k 0

qbrush k

% Plot at 300 dpi but don't lose any spikes

qecoplot(tt, yy, 3*300);

QPlot Documentation — (C) Daniel Wagenaar, 2014–2019