Re: Odd behavior of plot
- From: ImageAnalyst <imageanalyst@xxxxxxxxxxxxxx>
- Date: Sat, 6 Dec 2008 16:20:21 -0800 (PST)
On Dec 6, 5:07 pm, "David Doria" <daviddo...@xxxxxxxxx> wrote:
I have a function that plots some lines.
If I put a break point in the function, call it, it stops at the breakpoint, and then continue, the plot looks as expected at the end.
If I just run the function without the breakpoint the plot is the default axes ([0,1] [0,1]) and is blank!
Seems awfully strange to me! I can post the function if necessary, but I'm not sure it will help.
Dave
------------------------------
Dave:
I agree it sound weird. What happens if you liberally sprinkle
drawnow's around the code? Also, can you force the axes ranges by
calling xlim and ylim? I know sometimes MATLAB doesn't draw controls
if some property is invalid (such as the value property of a scrollbar
being outside of the min,max range). But I don't know why such a
property would have a different value depending on whether you stopped
at a breakpoint or not, unless it was some kind of weird timing thing
like you were communicating with some instrument through a cable and
port.
Regards,
ImageAnalyst
.
- Follow-Ups:
- Re: Odd behavior of plot
- From: David Doria
- Re: Odd behavior of plot
- References:
- Odd behavior of plot
- From: David Doria
- Odd behavior of plot
- Prev by Date: Re: Determine previously selected figure object
- Next by Date: Re: Determine previously selected figure object
- Previous by thread: Odd behavior of plot
- Next by thread: Re: Odd behavior of plot
- Index(es):
Relevant Pages
|