Thread Subject: Subplot in one Axes

Subject: Subplot in one Axes

From: Wilson Kao

Date: 2 Jul, 2009 14:18:01

Message: 1 of 2

  I have a function that creates a GUI with 4 push buttons and one Axes, and each of the button will plot a different graph on the axes. One of them instead of a simple plot, it has a 2*1 subplot. All the other 3 works fine, but the subplot would go over the axes boundary, and it would show an error when I put the other 3 buttons and try to refresh the plot to the other 3 plots after plotting the subplot. Could someone help me out here?


Error Message
%--------------------------------------------
??? Error using ==> clo at 41
Bad handle

Error in ==> cla at 29
clo(ax, extra{:});

Error in ==> GUIFIG3>Distortion_Nodal_Properties_Callback at 163
cla(handles.axes1,'reset')

Error in ==> gui_mainfcn at 96
        feval(varargin{:});

Error in ==> GUIFIG3 at 42
    gui_mainfcn(gui_State, varargin{:});

Error in ==>
guidemfile>@(hObject,eventdata)GUIFIG3('Distortion_Nodal_Properties_Callback',hObject,eventdata,guidata(hObject))


??? Error while evaluating uicontrol Callback

Subject: Subplot in one Axes

From: grega

Date: 10 Sep, 2009 12:59:21

Message: 2 of 2

Hi,

I am also facing the same problem. Have you maybe found a solution yet?
Thank you kindly.
Grega

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
subplot Sprinceana 2 Jul, 2009 13:26:34
gui Sprinceana 2 Jul, 2009 13:26:34
rssFeed for this Thread

Contact us at files@mathworks.com