The events bar renderer has a timer which will abort drawing if it's taking too long, so that the application doesn't hang because a huge dataset is plotted. I noticed the contour plot can hang the event thread--there's no timer like there is with the events renderer. One needs to be added. (I should probably review other render types for this too.)
For example in Autoplot:
ds= distance(1000,1000,400,400,100,200)+outerProduct(sin(linspace(0,10*TAU,1000)),ones(1000))
ds= ds+randn(1000,1000)/4
p,pe=plot(ds,renderType='contour>levels=0.')
sleep(1000)
pe.renderControl='color=blue'
sleep(1000)
annotation(text='about to hang application...',anchorPosition='NW')
pe.renderControl='levels=+0.1'
The events bar renderer has a timer which will abort drawing if it's taking too long, so that the application doesn't hang because a huge dataset is plotted. I noticed the contour plot can hang the event thread--there's no timer like there is with the events renderer. One needs to be added. (I should probably review other render types for this too.)
For example in Autoplot: