Basic fitting in GUI axes

조회 수: 3 (최근 30일)
Gordon
Gordon 2012년 9월 30일
댓글: Gordon Edwards 2020년 1월 11일
I have a GUI containing some axes for plotting data. I would like to use the Basic Fitting routine under the Tools tab of the figure menu on the GUI. However it is greyed out. The only method I can find is to copy the relevant axes from my GUI to a new, separate figure and do the fitting on that. This however is very unsatisfactory. Is there a method of fitting the data directly into the GUI axes?
Gordon
  댓글 수: 7
Azzi Abdelmalek
Azzi Abdelmalek 2012년 10월 1일
편집: Azzi Abdelmalek 2012년 10월 1일
Even you have data in the axes, the basic fitting is still disabled
Gordon
Gordon 2012년 10월 1일
You are creating a figure using the command 'subplot'. I have no problem with that. What you must do is create a GUI, gui.fig, with some axes on it and ensure that the GUI has the figure menubar on it. Run the GUI with some data for plotting in e.g. the startup function of gui.m and now try the Tool tab of the menu bar. The Basic Fitting submenu will be disabled & that is the problem.

댓글을 달려면 로그인하십시오.

답변 (2개)

Walter Roberson
Walter Roberson 2012년 10월 1일
Try setting the figure property 'Toolbar' to 'figure'.
  댓글 수: 1
Gordon
Gordon 2012년 10월 1일
Doesn't make any difference - the Basic Fitting submenu is still disabled

댓글을 달려면 로그인하십시오.


Robert Moore
Robert Moore 2020년 1월 9일
I am having a similar problem right now. There is a chance that you are dealing with a very large dataset and there is not enough memory to complete this action.
  댓글 수: 1
Gordon Edwards
Gordon Edwards 2020년 1월 11일
Hi Robert
Um - I don't understand why you are replying to a question originally posed in 2012.
.Gordon

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by