From: Dustin on
In my GUI i handle window resizes by setting the position property on my desired object. I have never had this problem with this but after data is added to my plot i get an error message. Why is this happening and are there any work arounds for this?

EX:

fpos = get(handles.figure1,'Position');
set(handles.Plot1,'Position', [15 5 fpos(3)-50 fpos(4)-13])
set(handles.text2,'Position', [8 fpos(4)-5 80 1.5])
set(handles.StartBox,'Position', [10 fpos(4)-3+.25 40 1.5])
set(handles.EndBox,'Position', [55 fpos(4)-3+.25 40 1.5])
etc...

ERR:

??? Error using ==> set
There is no 'Position' property in the 'lineseries' class.

Error in ==> Filename_Rev04>figure1_ResizeFcn at 119
set(handles.Plot1,'Position', [15 5 fpos(3)-50 fpos(4)-13])
From: ImageAnalyst on
I'd guess that your handles.Plot1 somehow is no longer associated with
an axes like you're expecting, but with a line object in the axes.
Just a guess........