47 this.
Figure= handleFunVis2DFigure;
48 this.
handles= guidata(handleFunVis2DFigure);
53 set(this.
handles.chkPlotFun,
" Value ",value);
60 set(ch,
" Value ",value);
67 set(ch,
" Value ",value);
74 set(ch,
" Value ",num);
81 set(
l,
" Value ",value);
88 set(
l,
" Value ",value);
95 set(
l,
" Value ",value);
102 conf = getappdata(h.main,
" conf ");
103 if value < conf.box(dim,1)
104 value = conf.box(dim,1);
105 fprintf(2,
" Minimum value of %g allowed.\n ",conf.box(dim,1));
106 elseif value > conf.box(dim,2)
107 value = conf.box(dim,2);
108 fprintf(2,
" Maximum value of %g allowed.\n ",conf.box(dim,2));
111 conf.basex(dim) = value;
112 setappdata(h.main,
" conf ",conf);
115 ch =
get(this.
Figure,
" Children ");
116 sh =
findobj(ch,
" UserData ",dim);
118 set(sh,
" Value ",value);
119 tag =
get(sh,
" Tag ");
120 pos = strfind(tag,
" _ ");
121 lbltag = sprintf(
" runtime_lbl_val_%s ",tag(pos(end)+1:end));
122 lbl =
findobj(ch,
" Tag ",lbltag);
123 set(lbl,
" String ",sprintf(
" %2.4e ",conf.basex(dim)));
127 FunVis2D(
" updateATDPoints ",h,conf);
128 conf =
FunVis2D(
" updateCenterPoints ",h,conf);
139 set(this.
handles.chkPlotCenterLines,
" Value ",value);
145 copyobj(
get(this.
handles.ax,
" Children "), ax);
147 set(ax,
" View ",
get(this.
handles.ax,
" View "));
158 set(this.
handles.ax,
" View ",[az el]);
163 sv =
get(this.
handles.dout,
" String ");
164 lbl = sv(
get(this.
handles.dout,
" Value "));
169 function h = getHandle() {
170 h =
findobj(this.fh,
" Tag ",name);
174 function updatePlot() {
function setInputDim2(value)
function setDisplayedCentersPerc(value)
function lbl = getOutputDimLabel()
function setFreeDim(dim, value)
Get app data and update.
function setPlotCenterLines(value)
function setGridElems(num)
function setDisplayedTrainingPointsPerc(value)
function varargout = FunVis2D(varargin)
User interface to visualize highdimensional functions using two input dimensions and one output dimen...
Matlab's base handle class (documentation generation substitute)
function copyAxesTo(ax)
Copy children.
FunVis2DHandler(handleFunVis2DFigure)
function setInputDim1(value)
function setOutputDim(value)
function setPlotFunction(value)
findobj
Finds objects matching the specified conditions from the input array of handle objects.