|
|
Problem with plot GUI
Hi.
I'm making a simple pendulum simulation (simple harmonic motion). It works perfectly.
I've done a GUI where I can select a method of integration trough a radio button, it works fine.
The graph that shows the animation is called axes1, and all the plot and axis in my code have handles.axes1 to select the correct graph axes! However, If I add a second axes the animation doesn't run correctly, it just shows a part of the graph, the axis aren't correct, etc...
I can't find out what I'm doing wrong, but I think it only happens if I use the radio buttons.
Help would be appreciated!
|
|
0
|
|
|
|
Reply
|
y2keyy (1)
|
6/2/2012 11:41:22 PM |
|
On 6/2/2012 6:41 PM, Daniel wrote:
> Hi.
>
> I'm making a simple pendulum simulation (simple harmonic motion). It works perfectly.
> I've done a GUI where I can select a method of integration trough a radio button,
> it works fine.
> The graph that shows the animation is called axes1, and all the plot and axis
>in my code have handles.axes1 to select the correct graph axes! However, If I add a
>second axes the animation doesn't run correctly, it just shows a
>part of the graph, the axis aren't correct, etc...
>
> I can't find out what I'm doing wrong, but I think it only happens if I
> use the radio buttons.
> Help would be appreciated!
Since no one can see what you have there (no xray vision like
superman has) all what one can do is trust your analysis and agree
with it.
I can only suggest not to use the radio buttons becuase that is what
causing you the problems.
Another option is to use the debugger and see what the problem is.
programming is not just writing code, it also involves debugging
the code you wrote as well. (this is the annoying part in programming
that no one likes to do)
--Nasser
|
|
0
|
|
|
|
Reply
|
Nasser
|
6/3/2012 12:08:38 AM
|
|
|
1 Replies
34 Views
(page loaded in 0.086 seconds)
Similiar Articles: Overlapping plots problem - comp.soft-sys.matlabHello everybody. I'm trying to do a gui with "tabs" i.e. I have to buttons in my gui which control the visibility of corresponding uipanels that h... Question about animating in GUI timer function - comp.soft-sys ...... read in various places that using the plot ... refreshdata end end end My GUI is having problems ... Graphical User Interface) is a Matlab ... scaling of the ... problem with opening a *.fig file - comp.soft-sys.matlab ...Hello, I wrote a program with a GUI. I also made a button for saving ... The figure I saved was a polar plot. What can be the problem? The size of the matrix? GUI, interuption while loop - comp.soft-sys.matlabPlot "smaller" dot - comp.soft-sys.matlab GUI, interuption while loop - comp.soft-sys.matlab ... and write until it becomes cleared ... Consumer problems - comp.lang.java.gui ... Plotting problem - comp.soft-sys.matlabI'm trying to do a gui with "tabs" i.e. I have to buttons in my gui which ... Saving a matlab plot as an image help - comp.dsp Saving filled contour plot problem - comp ... Problem with Multiple Axes (Plots) on one Figure - comp.soft-sys ...The problem is that the first plot should be done using command 'pcolor' and second one ... both ... Axes - MATLAB & Simulink Example... and time domain plots in the GUI ... Conflict between subplot and imagesc within a GUI. - comp.soft-sys ...Hello to everyone , I'm encountering a problem with matlab using the GUIDE, I have created two push buttons, when I push the first one, I get two s... GUI open picture load to axis - comp.soft-sys.matlabGUI open picture load to axis - comp.soft-sys.matlab halloi have the problem ,I dont know how open and load picture, to axis ... Import (plot) .fig file in GUI. - comp ... Reference to non-existent field 'axes1' - comp.soft-sys.matlab ...Hello, I have created a GUI that gives me the following ... I got the same problem but i figured it out. i set the next plot property of the axes as new. Display result in GUI - comp.soft-sys.matlabNow i having some problem in displaying my result in GUI . i Don't how to do it ... GUI - comp.soft-sys.matlab Using Slider on a Plot - comp.soft-sys.matlab Slider in GUI ... Problem with plot GUI - Newsreader - MATLAB CentralHi. I'm making a simple pendulum simulation (simple harmonic motion). It works perfectly. I've done a GUI where I can select a method of integration trough a radio ... Matlab GUI, Browser, Plot Problem - Newsreader - MATLAB CentralI have a problem, I am trying to plot data which is selected is inside the edit box with using button, PushButton1..... [filename, pathname, filterindex] = uigetfile( ... 7/5/2012 10:08:06 PM
|
|
|
|
|
|
|
|
|