Re: Slow plotting on last plot
- From: "Jesse Lai" <someone@xxxxxxxxxxxxx>
- Date: Thu, 11 May 2006 14:11:35 -0400
Randy,
I previously used the draw now command and yes, it does update, but I
still get the 100% CPU usage. I don't quite understand it. I'm
guessing its a windows/MATLAB problem, but don't know what it is. I
might just uninstall and try reinstalling.
Jesse
Randy Poe wrote:
almost
Jesse Lai wrote:
I have some plots that I generate in a for loop because I'mcyling
through a dataset and generating individual plots for eachcolumn.
I've noticed that on my computer the last plot generated takes
forever to update. My system hangs with 100% CPU usage for
aadditional
minute before the final plot is generated. It isn't specific toany
single plot. If I add a plot after the loop, then that
openplot takes the time to generate instead of the previous one.
I'm using R2006a.
Has anyone else noticed this behaviour or how to fix it? I'm
to.
suggestions.
Perhaps it has something to do with the queuing of graphics
commands. Often graphics updates are not performed
immediately but queued up and then performed in a block
later, during an idle interval.
Try putting "drawnow;" inside the loop after each plot
command.
HELP DRAWNOW for more info.
The fact that it takes nearly a minute to execute all the
graphics suggests you have a very complex plot. If so, you
might find with DRAWNOW that the overall time is still
the same, but each iteration now takes a significant fraction
of a second.
- Randy
- References:
- Slow plotting on last plot
- From: Jesse Lai
- Re: Slow plotting on last plot
- From: Randy Poe
- Slow plotting on last plot
- Prev by Date: can we read variable name
- Next by Date: Re: comparing of matrices
- Previous by thread: Re: Slow plotting on last plot
- Next by thread: Large projects in Matlab
- Index(es):
Relevant Pages
|
Loading