disable axes screen updating in gui
8 views (last 30 days)
I have an axes in a gui where i do the following
- Draw 3 time series in the axes using plotyy
- use datetick on the x axis.
- convert the numbers on the y axes from scientific notation to decimals.
- change the font size of the axes.
- change the line width.
The user can select which time series to plot from a popup. My issue is that when the user selects a time series, the chart doesn't update very quickly. You can actually see it doing steps 2, 3, 4, and 5 in sequence. Is there any way to disable the axes's screen updating until it's actually finished with steps 2 and 3?
Arthur on 13 Nov 2012
Edited: Arthur on 13 Nov 2012
How are you updating the plot? Are you calling plotyy every time? It is usually much faster to update XData and YData of an existing plot, instead of replotting it with plotyy.
Post the code here,that makes it easier to see what the problem might be.