"Steven Lord" <Steven_Lord@mathworks.com> wrote in message <email@example.com>... > > "Jonathan W Smith" <firstname.lastname@example.org> wrote in message > news:email@example.com... > > Good morning: The code below plots but terminates the entire MATLAB > > program mid-way through plotting. I think its likely insufficient memory > > because of fragmented memory use. Are there any suggestions on how to have > > this a have an entire graph plot while conserving memory. Thanks. > > Impossible to say without knowing more information. What is a typical value > for sounder_files? How many points do typical .nc files have? How many times > does SCATTERM get called? What is your screen resolution and how does that > compare to the typical number of points? (If you're trying to plot a million > points on a screen with a million pixels, that's going to be extremely > difficult to interpret and I'd recommend plotting only a "representative > sample" of your points.) > > *snip* > > -- > Steve Lord > firstname.lastname@example.org > To contact Technical Support use the Contact Us link on > http://www.mathworks.com
There are 2600 sounder files. In the script the are parsed into descending and then ascending. There are about 1300 descending files and 13 ascending. I am plotting the 1300 descending. Scatterm is called once to plot all 1300 files.