Scaling of x-axis in GUI

1 view (last 30 days)
BHARAT
BHARAT on 26 Jul 2013
I created a GUI for plotting step response of a control system transfer function. When I press push button to plot, plot is created. However the x-axis of plot obtained in GUI is scaled to about 40 times to that obtained by writing simple script for the same transfer function. How can I re-scale my plot?
  2 Comments
dpb
dpb on 26 Jul 2013
What specifically is scaled 40X?
Doesn't seem like axis limits should be any different if the model data are the same. Have you checked for certain your GUI plot is actually the same numerically as the sample script? Perhaps you're not getting the data in that you think you are.
Can't tell anything specific w/o actual hard data/code to look at.
Suman Saha
Suman Saha on 7 Aug 2013
please put your actual code here. ur prblm can be solved

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!