Thanks to those of you who have made suggestions. I still haven't resolved the issue, but have gotten closer to the source of the problem I think. I made a stripped down version of the GUI that I am using and discovered that the time delay with the profile plot has more to do with the fact that I am generating two plots (on two different axes) in my GUI. If I plot the colored scatter plot alone, it only takes about 2-3 seconds for a day's worth of data, but if I also try to plot a simple time series first on the other axes (using the plot function), it slows down to over a minute. Either plot alone generates rather quickly, but both together just bog down. I've posted the simple testGUI as well as the test dataset in dropbox at links at the end of this post. To test it, I simply select the pressure data and the color data in the e popupmenus and then press plot. If I comment out either of the plots, the remaining single plot generates quickly. Again, I am grateful for any help here. Walter Roberston’s suggestion of painting into an array and then imaging the array sounded promising, but I haven’t had luck figuring out how to do this. I don’t need to interact with the data in the scatter plot, only the simple time series plot.
Thanks again! Sarah
The dropbox links are:
Workspace data: http://dl.dropbox.com/u/53535639/testGUI/testGUI_data.mat
GUI figure: http://dl.dropbox.com/u/53535639/testGUI/testGUI.fig
GUI code: http://dl.dropbox.com/u/53535639/testGUI/testGUIcode.docx (I needed to copy it into word because the *.m file was not sharing correctly
