function varargout = gomatlab(varargin)
% GOMATLAB M-file for gomatlab.fig
%      GOMATLAB, by itself, creates a new GOMATLAB or raises the existing
%      singleton*.
%
%      H = GOMATLAB returns the handle to a new GOMATLAB or the handle to
%      the existing singleton*.
%
%      GOMATLAB('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in GOMATLAB.M with the given input arguments.
%
%      GOMATLAB('Property','Value',...) creates a new GOMATLAB or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before gomatlab_OpeningFunction gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to gomatlab_OpeningFcn via varargin.
%
%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
%      instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES

% Edit the above text to modify the response to help gomatlab

% Last Modified by GUIDE v2.5 27-Oct-2010 09:40:05

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...
                   'gui_Singleton',  gui_Singleton, ...
                   'gui_OpeningFcn', @gomatlab_OpeningFcn, ...
                   'gui_OutputFcn',  @gomatlab_OutputFcn, ...
                   'gui_LayoutFcn',  [] , ...
                   'gui_Callback',   []);
if nargin && ischar(varargin{1})
    gui_State.gui_Callback = str2func(varargin{1});
end

if nargout
    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
    gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT

% --- Executes just before gomatlab is made visible.
function gomatlab_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% varargin   command line arguments to gomatlab (see VARARGIN)

% Choose default command line output for gomatlab
handles.output = hObject;

% Update handles structure
guidata(hObject, handles);

% UIWAIT makes gomatlab wait for user response (see UIRESUME)
% uiwait(handles.figure1);

%_____________________________________________________________________
%Debugging
dbstop if error

%Beschrifung Axes
axis(handles.axes1, [0,16000,80,1100])
axis(handles.axes2, [0,16000,80,1100])
xlabel(handles.axes1,'log (Re)')
xlabel(handles.axes2,'log (Re)')
ylabel(handles.axes1,'log (Nu)')
ylabel(handles.axes2,'log (Nu)')
title ('XXX')
hold on

%Bilschirmgröße/Position
set (0,'Units', 'pixels')
ssz=get(0,'ScreenSize');
set(gcf, 'Units', 'pixels',...
          'Position', [5 0.049*ssz(3) 0.9*ssz(3) 0.9*ssz(4)]); 
%Datensatz laden
var=load('z:\matlab\Datensatz\VW_TSI_HT-RAD.mat');
var
 

%Seite 2 Ausblenden
set(handles.seite1,'Visible','on'); 
set(handles.seite2,'Visible','off');
set(handles.pushgo2,'Visible','on');
set(handles.pushgo1,'Visible','on');
set(handles.text1,'String','Exp=..., c=...')
%_____________________________________________________________________
% --- Outputs from this function are returned to the command line.
function varargout = gomatlab_OutputFcn(hObject, eventdata, handles) 
% varargout  cell array for returning output args (see VARARGOUT);
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Get default command line output from handles structure
varargout{1} = handles.output;


function edit111y_Callback(hObject, eventdata, handles)
% hObject    handle to edit111y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
a=get(handles.edit111y, 'string');
set(handles.slider111y, 'value', str2num(a))
cla
%Seite1 / Axes1 / Linie 1
x111(1)=1;
x111(2)=get(handels.slider112x,'value');
y111(1)=get(handles.slider111y,'value');
y111(2)=get(handles.slider112y,'value');

%Seite1 / Axes1 / Linie 2
x112(1)=get(handles.slider112x,'value');
x112(2)=get(handles.slider113x,'value');
y112(1)=get(handles.slider112y,'value');
y112(2)=get(handles.slider113y,'value');

%Seite1 / Axes1 / Linie 3
x113(1)=get(handles.slider113x,'value');
x113(2)=get(handles.slider114x,'value');
y113(1)=get(handles.slider113y,'value');
y113(2)=get(handles.slider114y,'value');

%Seite1 / Axes2 / Linie 1
x121(1)=1;
x121(2)=get(handles.slider122x,'value');
y121(1)=get(handles.slider121y,'value');
y121(2)=get(handles.slider122y,'value');

%Seite1 / Axes2 / Linie 2
x122(1)=get(handles.slider122x,'value');
x122(2)=get(handles.slider123x,'value');
y122(1)=get(handles.slider122y,'value');
y122(2)=get(handles.slider123y,'value');

%Seite1 / Axes2 / Linie 3
x123(1)=get(handles.slider123x,'value');
x123(2)=get(handles.slider124x,'value');
y123(1)=get(handles.slider123y,'value');
y123(2)=get(handles.slider124y,'value');


%Seite2 / Axes1 / Linie 1

%Seite2 / Axes1 / Linie 2

%Seite2 / Axes1 / Linie 3

%Seite2 / Axes2 / Linie 1

%Seite2 / Axes2 / Linie 2

%Seite2 / Axes2 / Linie 3

%Plot, guiupdate

%Seite 1
plot(handles.axes1,x111,y111,'k-')
plot(handles.axes1,x112,y112,'k-')
plot(handles.axes1,x113,y113,'k-')

plot(handles.axes2,x121,y121,'k-')
plot(handles.axes2,x122,y122,'k-')
plot(handles.axes2,x123,y123,'k-')


%Seite 2


guidata(hObject, handles);
disp('Seiten  geupdated')
guidata(hObject, handles);

% Hints: get(hObject,'String') returns contents of edit111y as text
%        str2double(get(hObject,'String')) returns contents of edit111y as a double


% --- Executes during object creation, after setting all properties.
function edit111y_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit111y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


% --- Executes on slider movement.
function slider112y_Callback(hObject, eventdata, handles)
% hObject    handle to slider112y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
a=get(handles.slider112y, 'value');
set(handles.edit112y, 'string', num2str(a));
cla

% Hints: get(hObject,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider


% --- Executes during object creation, after setting all properties.
function slider112y_CreateFcn(hObject, eventdata, handles)
% hObject    handle to slider112y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


% --- Executes on slider movement.
function slider112x_Callback(hObject, eventdata, handles)
% hObject    handle to slider112x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
a=get(handles.slider112y, 'value');
set(handles.edit112y, 'string', num2str(a));
cla
% Hints: get(hObject,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider


% --- Executes during object creation, after setting all properties.
function slider112x_CreateFcn(hObject, eventdata, handles)
% hObject    handle to slider112x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end



function edit112x_Callback(hObject, eventdata, handles)
% hObject    handle to edit112x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
x2=get(handles.edit112x, 'string');
set(handles.slider112x, 'value', str2num(x2))
cla
guidata(hObject, handles);

% Hints: get(hObject,'String') returns contents of edit112x as text
%        str2double(get(hObject,'String')) returns contents of edit112x as a double


% --- Executes during object creation, after setting all properties.
function edit112x_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit112x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function edit112y_Callback(hObject, eventdata, handles)
% hObject    handle to edit112y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
y2=get(handles.edit112y, 'string');
set(handles.slider112y, 'value', str2num(y2))
cla
guidata(hObject, handles);
% Hints: get(hObject,'String') returns contents of edit112y as text
%        str2double(get(hObject,'String')) returns contents of edit112y as a double


% --- Executes during object creation, after setting all properties.
function edit112y_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit112y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end




% --- Executes on button press in regression.
function regression_Callback(hObject, eventdata, handles)
% hObject    handle to regression (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)



% --- Executes on slider movement.
function slider113y_Callback(hObject, eventdata, handles)
% hObject    handle to slider113y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider


% --- Executes during object creation, after setting all properties.
function slider113y_CreateFcn(hObject, eventdata, handles)
% hObject    handle to slider113y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


% --- Executes on slider movement.
function slider114y_Callback(hObject, eventdata, handles)
% hObject    handle to slider114y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
a=get(handles.slider112y, 'value');
set(handles.edit112y, 'string', num2str(a));
cla
% Hints: get(hObject,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider


% --- Executes during object creation, after setting all properties.
function slider114y_CreateFcn(hObject, eventdata, handles)
% hObject    handle to slider114y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


% --- Executes on slider movement.
function slider113x_Callback(hObject, eventdata, handles)
% hObject    handle to slider113x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
a=get(handles.slider112y, 'value');
set(handles.edit112y, 'string', num2str(a));
cla
% Hints: get(hObject,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider


% --- Executes during object creation, after setting all properties.
function slider113x_CreateFcn(hObject, eventdata, handles)
% hObject    handle to slider113x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end

function edit113y_Callback(hObject, eventdata, handles)
% hObject    handle to edit113y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
y3=get(handles.edit113y, 'string');
set(handles.slider113y, 'value', str2num(y3))
cla
guidata(hObject, handles);
% Hints: get(hObject,'String') returns contents of edit113y as text
%        str2double(get(hObject,'String')) returns contents of edit113y as a double


% --- Executes during object creation, after setting all properties.
function edit113y_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit113y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function edit113x_Callback(hObject, eventdata, handles)
% hObject    handle to edit113x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
x3=get(handles.edit113x, 'string');
set(handles.slider113x, 'value', str2num(x3))
cla
guidata(hObject, handles);
% Hints: get(hObject,'String') returns contents of edit113x as text
%        str2double(get(hObject,'String')) returns contents of edit113x as a double


% --- Executes during object creation, after setting all properties.
function edit113x_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit113x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function edit114y_Callback(hObject, eventdata, handles)
% hObject    handle to edit114y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
y4=get(handles.edit114y, 'string');
set(handles.slider114y, 'value', str2num(y4))
cla
guidata(hObject, handles);
% Hints: get(hObject,'String') returns contents of edit114y as text
%        str2double(get(hObject,'String')) returns contents of edit114y as a double


% --- Executes during object creation, after setting all properties.
function edit114y_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit114y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function edit4x_Callback(hObject, eventdata, handles)
% hObject    handle to edit4x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
x4=get(handles.edit4x, 'string');
set(handles.slider4x, 'value', str2num(x4))
cla
guidata(hObject, handles);
% Hints: get(hObject,'String') returns contents of edit4x as text
%        str2double(get(hObject,'String')) returns contents of edit4x as a double


% --- Executes during object creation, after setting all properties.
function edit4x_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit4x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end




% --- Executes on slider movement.
function slider16_Callback(hObject, eventdata, handles)
% hObject    handle to slider16 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider


% --- Executes during object creation, after setting all properties.
function slider16_CreateFcn(hObject, eventdata, handles)
% hObject    handle to slider16 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end



function edit121y_Callback(hObject, eventdata, handles)
% hObject    handle to edit121y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of edit121y as text
%        str2double(get(hObject,'String')) returns contents of edit121y as a double


% --- Executes during object creation, after setting all properties.
function edit121y_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit121y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


% --- Executes on slider movement.
function slider122y_Callback(hObject, eventdata, handles)
% hObject    handle to slider122y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider


% --- Executes during object creation, after setting all properties.
function slider122y_CreateFcn(hObject, eventdata, handles)
% hObject    handle to slider122y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


% --- Executes on slider movement.
function slider122x_Callback(hObject, eventdata, handles)
% hObject    handle to slider122x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider


% --- Executes during object creation, after setting all properties.
function slider122x_CreateFcn(hObject, eventdata, handles)
% hObject    handle to slider122x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end



function edit122x_Callback(hObject, eventdata, handles)
% hObject    handle to edit122x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of edit122x as text
%        str2double(get(hObject,'String')) returns contents of edit122x as a double


% --- Executes during object creation, after setting all properties.
function edit122x_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit122x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function edit122y_Callback(hObject, eventdata, handles)
% hObject    handle to edit122y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of edit122y as text
%        str2double(get(hObject,'String')) returns contents of edit122y as a double


% --- Executes during object creation, after setting all properties.
function edit122y_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit122y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


% --- Executes on slider movement.
function slider123y_Callback(hObject, eventdata, handles)
% hObject    handle to slider123y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider


% --- Executes during object creation, after setting all properties.
function slider123y_CreateFcn(hObject, eventdata, handles)
% hObject    handle to slider123y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


% --- Executes on slider movement.
function slider123x_Callback(hObject, eventdata, handles)
% hObject    handle to slider123x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider


% --- Executes during object creation, after setting all properties.
function slider123x_CreateFcn(hObject, eventdata, handles)
% hObject    handle to slider123x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end



function edit123x_Callback(hObject, eventdata, handles)
% hObject    handle to edit123x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of edit123x as text
%        str2double(get(hObject,'String')) returns contents of edit123x as a double


% --- Executes during object creation, after setting all properties.
function edit123x_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit123x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function edit123y_Callback(hObject, eventdata, handles)
% hObject    handle to edit123y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of edit123y as text
%        str2double(get(hObject,'String')) returns contents of edit123y as a double


% --- Executes during object creation, after setting all properties.
function edit123y_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit123y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


% --- Executes on slider movement.
function slider124x_Callback(hObject, eventdata, handles)
% hObject    handle to slider124x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider


% --- Executes during object creation, after setting all properties.
function slider124x_CreateFcn(hObject, eventdata, handles)
% hObject    handle to slider124x (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end



function edit124y_Callback(hObject, eventdata, handles)
% hObject    handle to edit124y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of edit124y as text
%        str2double(get(hObject,'String')) returns contents of edit124y as a double


% --- Executes during object creation, after setting all properties.
function edit124y_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit124y (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


function pushgo2_Callback(hObject, eventdata, handles)
set(handles.seite1,'Visible','Off');
set(handles.seite2,'Visible','On');
set(handles.pushgo2,'Visible','on');
set(handles.pushgo1,'Visible','on');

function pushgo1_Callback(hObject, eventdata, handles)
set(handles.seite2,'Visible','Off');
set(handles.seite1,'Visible','On');
set(handles.pushgo2,'Visible','on');
set(handles.pushgo1,'Visible','on');





function slider48_Callback(hObject, eventdata, handles)


function slider48_CreateFcn(hObject, eventdata, handles)

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


function edit48_Callback(hObject, eventdata, handles)


function edit48_CreateFcn(hObject, eventdata, handles)

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


function slider46_Callback(hObject, eventdata, handles)


function slider46_CreateFcn(hObject, eventdata, handles)

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


function slider47_Callback(hObject, eventdata, handles)


function slider47_CreateFcn(hObject, eventdata, handles)

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


function edit46_Callback(hObject, eventdata, handles)


function edit46_CreateFcn(hObject, eventdata, handles)

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


function edit47_Callback(hObject, eventdata, handles)


function edit47_CreateFcn(hObject, eventdata, handles)

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


function slider45_Callback(hObject, eventdata, handles)


function slider45_CreateFcn(hObject, eventdata, handles)

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


function edit45_Callback(hObject, eventdata, handles)


function edit45_CreateFcn(hObject, eventdata, handles)

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


function slider44_Callback(hObject, eventdata, handles)


function slider44_CreateFcn(hObject, eventdata, handles)

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


function edit44_Callback(hObject, eventdata, handles)


function edit44_CreateFcn(hObject, eventdata, handles)

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


function slider42_Callback(hObject, eventdata, handles)


function slider42_CreateFcn(hObject, eventdata, handles)

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


function slider43_Callback(hObject, eventdata, handles)


function slider43_CreateFcn(hObject, eventdata, handles)

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


function edit42_Callback(hObject, eventdata, handles)


function edit42_CreateFcn(hObject, eventdata, handles)

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


function edit43_Callback(hObject, eventdata, handles)


function edit43_CreateFcn(hObject, eventdata, handles)

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


function slider40_Callback(hObject, eventdata, handles)


function slider40_CreateFcn(hObject, eventdata, handles)

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


function slider41_Callback(hObject, eventdata, handles)


function slider41_CreateFcn(hObject, eventdata, handles)

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


function edit40_Callback(hObject, eventdata, handles)


function edit40_CreateFcn(hObject, eventdata, handles)

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


function edit41_Callback(hObject, eventdata, handles)


function edit41_CreateFcn(hObject, eventdata, handles)

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


function slider38_Callback(hObject, eventdata, handles)


function slider38_CreateFcn(hObject, eventdata, handles)

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


function slider39_Callback(hObject, eventdata, handles)


function slider39_CreateFcn(hObject, eventdata, handles)

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


function edit38_Callback(hObject, eventdata, handles)


function edit38_CreateFcn(hObject, eventdata, handles)

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


function edit39_Callback(hObject, eventdata, handles)


function edit39_CreateFcn(hObject, eventdata, handles)

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


function slider37_Callback(hObject, eventdata, handles)


function slider37_CreateFcn(hObject, eventdata, handles)

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


function edit37_Callback(hObject, eventdata, handles)


function edit37_CreateFcn(hObject, eventdata, handles)

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


function pushbutton4_Callback(hObject, eventdata, handles)








function slider111y_Callback(hObject, eventdata, handles)


function slider111y_CreateFcn(hObject, eventdata, handles)

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end


