Filter löschen
Filter löschen

Basic fitting in GUI axes

7 Ansichten (letzte 30 Tage)
Gordon
Gordon am 30 Sep. 2012
Kommentiert: Gordon Edwards am 11 Jan. 2020
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 Kommentare
Azzi Abdelmalek
Azzi Abdelmalek am 1 Okt. 2012
Bearbeitet: Azzi Abdelmalek am 1 Okt. 2012
Even you have data in the axes, the basic fitting is still disabled
Gordon
Gordon am 1 Okt. 2012
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.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Walter Roberson
Walter Roberson am 1 Okt. 2012
Try setting the figure property 'Toolbar' to 'figure'.
  1 Kommentar
Gordon
Gordon am 1 Okt. 2012
Doesn't make any difference - the Basic Fitting submenu is still disabled

Melden Sie sich an, um zu kommentieren.


Robert Moore
Robert Moore am 9 Jan. 2020
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 Kommentar
Gordon Edwards
Gordon Edwards am 11 Jan. 2020
Hi Robert
Um - I don't understand why you are replying to a question originally posed in 2012.
.Gordon

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Polar Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by