BUG DESCRIPTION:----------------My program plots points in 4 subplots (t-z, x-y, x-z, y-z).A simplified piece of code is: drawlater(); set(gcf(),"color_map",fastcmap); sca(ax(1)); scatter(t,z,p,fastcolorparam,'diamond'); sca(ax(2)); scatter(x,y,p,fastcolorparam,'diamond'); sca(ax(3)); scatter(x,z,p,fastcolorparam,'diamond'); sca(ax(4)); scatter(y,z,p,fastcolorparam,'diamond'); drawnow();Or with variations of the position of drawlater (e.g. after each sca line)What happens is the plot blinks 4 times, each time the previous ones are removed and replotted. It does not wait to draw all until drawnow().The blinking gets slower with thousands of data points. My intention was to not replot the previous subplots, avoiding the blinking every time I go to the next 10-minute file to be plotted.
Designs
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related or that one is blocking others.
Learn more.
A runnable example replicating the scatter() example #1:
x = linspace(0,2,200);
y = exp(-x).cos(10x) + 0.2*rand(1,length(x));
clf
drawlater
for i=1:12, subplot(3,4,i), scatter(x,y); end
drawnow