|
That did the trick.
I saw a reference to double buffer before, but didn't think about it
because it said it is set to 'on' by default! Apparently this is
wrong...or I'm just very confused.
In anycase, it works now, thanks!
Frank Scretico wrote:
>
>
> Try setting the figure property "doublebuffer" to 'on': this should
> avoid flashing. (Double buffering works only when the figure
> "Renderer" property is set to 'painters'.)
> hth,
> Frank
>
> Ian Woloschin wrote:
>>
>>
>> If anyone's been around this past week or two they probably
know
>> I've
>> been working on making a GUI based panning program for use with
>> Matlab R13. I've got it all working, now I'm trying to make it
>> look
>> nicer.
>>
>> When I use WindowButtonMotionFcn, I update the axes whenever
the
>> mouse moves. In my program, this causes for an ugly flashing
as
>> the
>> entire axes are redrawn every time the mouse moves a tiny bit.
>> Useable, but ugly as...well, you get the point.
>>
>> Since I started this project I've found a few panning scripts
> which
>> I've been able to get some help from, but this I'm stuck on.
All
>> of
>> the panning scripts seem to be fine when panning, no ugly
> flashing,
>> and my GUI doesn't do anything more than the scripts for this
>> function, yet it's flashing constantly.
>>
>> Is there a way to at least set a "refresh rate" or something
like
>> that?
|