Chapters:
|
MuSR /
MulabModifyGuis< How to make an asymmetry multiplot | Index | The mulab changelog > The main GUI window is mufit_gui.m Make sure you do not break it The most delicate part is the parameter inputs. Both the graphical layout and the object numbering is done ad-hoc there, since the number of elements and their placement varies with the model. The objects (input fields, their text labels, plot popup menus and FFT checkboxes) are numbered consecutively, component by component and this requires the knowledge of the total number of objetcs in the first half GUI, where the buttons are placed. At present (1.04 July 2009) there are 27 object in the first half, including FFT Line Broadening input. This is set in variable Nmenumenu=27; The dropdown menus are numbered more or less consecutively, but their handle name is irrelevant to the above counts. CallBack routines are Menu_CallBack(varargin) the main one, dealing with most of mufit_gui, including setting parameter values and flags (!~=+), done at the top, whereas the buttons, etc, are dealt with below h=guihandles recovers all object handles of the mufit_gui function menutags=guidata(gcf) recovers the tags of all objects that stored in this variable hstrike=cell2mat(varargin(1)) recovers the handle of the last striken object to be compared to h Rig_CallBack(varargin) deals with the actions of the Data Format and Istrument dropdown menus Save_CallBack(varargin) deals with the Save/Quit dropdown FFTOn_CallBack(varargin) deals with the FFT Help_CallBack(varargin) lists available components < How to make an asymmetry multiplot | Index | The mulab changelog > |