Beruflich Dokumente
Kultur Dokumente
% varargin
% --- Outputs from this function are returned to the command line.
function varargout = derint_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;
%
str2double(get(hObject,'String')) returns contents of TituloG as
a double
if(GAzul == 1)
p = ('b.-');
else if (GAzul
p = ('b.:');
else if (GAzul
p = ('b.-.');
else if (GAzul
p = ('b.--');
else if (GAzul
p = ('bo-');
else if (GAzul
p = ('bo:');
else if (GAzul
p = ('bo-.');
else if (GAzul
p = ('bo--');
else if (GAzul
p = ('bx-');
else if (GAzul
p = ('bx:');
else if (GAzul
p = ('bx-.');
else if (GAzul
p = ('bx--');
else if (GAzul
p = ('b+-');
else if (GAzul
p = ('b+:');
else if (GAzul
p = ('b+-.');
else if (GAzul
p = ('b+--');
else if (GAzul
p = ('bs-');
else if (GAzul
p = ('bs:');
else if (GAzul
p = ('bs-.');
else if (GAzul
p = ('bs--');
else if (GAzul
p = ('bd-');
else if (GAzul
p = ('bd:');
else if (GAzul
p = ('bd-.');
else if (GAzul
p = ('bd--');
p = ('b^-');
else if (GAzul == 1) && (GTrianguloAr == 1) && (GPunteado == 1)
p = ('b^:');
else if (GAzul == 1) && (GTrianguloAr == 1) && (GGuionP == 1)
p = ('b^-.');
else if (GAzul == 1) && (GTrianguloAr == 1) && (GTrozos == 1)
p = ('b^--');
else if (GAzul
p = ('bV-');
else if (GAzul
p = ('bV:');
else if (GAzul
p = ('bV-.');
else if (GAzul
p = ('bV--');
else if (GAzul
p = ('bh-');
else if (GAzul
p = ('bh:');
else if (GAzul
p = ('bh-.');
else if (GAzul
p = ('bh--');
else if (GAzul
p = ('bp-');
else if (GAzul
p = ('bp:');
else if (GAzul
p = ('bp-.');
else if (GAzul
p = ('bp--');
else if (GAzul
p = ('bp-');
else if (GAzul
p = ('bp:');
else if (GAzul
p = ('bp-.');
else if (GAzul
p = ('bp--');
p = ('r.--');
else if (GRojo
p = ('ro-');
else if (GRojo
p = ('ro:');
else if (GRojo
p = ('ro-.');
else if (GRojo
p = ('ro--');
else if (GRojo
p = ('rx-');
else if (GRojo
p = ('rx:');
else if (GRojo
p = ('rx-.');
else if (GRojo
p = ('rx--');
else if (GRojo
p = ('r+-');
else if (GRojo
p = ('r+:');
else if (GRojo
p = ('r+-.');
else if (GRojo
p = ('r+--');
else if (GRojo
p = ('rs-');
else if (GRojo
p = ('rs:');
else if (GRojo
p = ('rs-.');
else if (GRojo
p = ('rs--');
else if (GRojo
p = ('rd-');
else if (GRojo
p = ('rd:');
else if (GRojo
p = ('rd-.');
else if (GRojo
p = ('rd--');
else if (GRojo
p = ('r^-');
else if (GRojo
p = ('r^:');
else if (GRojo
p = ('r^-.');
else if (GRojo
p = ('r^--');
else if (GRojo
p = ('rV-');
else if (GRojo
p = ('rV:');
else if (GRojo
p = ('rV-.');
else if (GRojo
p = ('rV--');
else if (GRojo
p = ('rh-');
else if (GRojo
p = ('rh:');
else if (GRojo
p = ('rh-.');
else if (GRojo
p = ('rh--');
else if (GRojo
p = ('rp-');
else if (GRojo
p = ('rp:');
else if (GRojo
p = ('rp-.');
else if (GRojo
p = ('rp--');
else if (GRojo
p = ('rp-');
else if (GRojo
p = ('rp:');
else if (GRojo
p = ('rp-.');
else if (GRojo
p = ('rp--');
else if (GAmarillo
p = ('y+-');
else if (GAmarillo
p = ('y+:');
else if (GAmarillo
p = ('y+-.');
else if (GAmarillo
p = ('y+--');
else if (GAmarillo
p = ('ys-');
else if (GAmarillo
p = ('ys:');
else if (GAmarillo
p = ('ys-.');
else if (GAmarillo
p = ('ys--');
else if (GAmarillo
p = ('yd-');
else if (GAmarillo
p = ('yd:');
else if (GAmarillo
p = ('yd-.');
else if (GAmarillo
p = ('yd--');
else if (GAmarillo
p = ('y^-');
else if (GAmarillo
p = ('y^:');
else if (GAmarillo
p = ('y^-.');
else if (GAmarillo
p = ('y^--');
else if (GAmarillo
p = ('yV-');
else if (GAmarillo
p = ('yV:');
else if (GAmarillo
p = ('yV-.');
else if (GAmarillo
p = ('yV--');
else if (GAmarillo
p = ('yh-');
else if (GAmarillo
p = ('yh:');
else if (GAmarillo
p = ('yh-.');
else if (GAmarillo
p = ('yh--');
else if (GAmarillo
p = ('yp-');
else if (GAmarillo
p = ('yp:');
else if (GAmarillo
p = ('yp-.');
else if (GAmarillo
p = ('yp--');
else if (GAmarillo
p = ('yp-');
else if (GAmarillo
p = ('yp:');
else if (GAmarillo
p = ('yp-.');
else if (GAmarillo
p = ('yp--');
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
if(GVerde == 1) && (GPunto == 1) && (GSolido == 1)
p = ('g.-');
else if (GVerde == 1) && (GPunto == 1) && (GPunteado == 1)
p = ('g.:');
else if (GVerde == 1) && (GPunto == 1) && (GGuionP == 1)
p = ('g.-.');
else if (GVerde == 1) && (GPunto == 1) && (GTrozos == 1)
p = ('g.--');
else if (GVerde == 1) && (GCirculo == 1) && (GSolido == 1)
p = ('go-');
else if (GVerde == 1) && (GCirculo == 1) && (GPunteado == 1)
p = ('go:');
else if (GVerde
p = ('g+-');
else if (GVerde
p = ('g+:');
else if (GVerde
p = ('g+-.');
else if (GVerde
p = ('g+--');
else if (GVerde
p = ('gs-');
else if (GVerde
p = ('gs:');
else if (GVerde
p = ('gs-.');
else if (GVerde
p = ('gs--');
else if (GVerde
p = ('gd-');
else if (GVerde
p = ('gd:');
else if (GVerde
p = ('gd-.');
else if (GVerde
p = ('gd--');
else if (GVerde
p = ('g^-');
else if (GVerde
p = ('g^:');
else if (GVerde
p = ('g^-.');
else if (GVerde
p = ('g^--');
else if (GVerde
p = ('gp-');
else if (GVerde
p = ('gp:');
else if (GVerde
p = ('gp-.');
else if (GVerde
p = ('gp--');
else if (GVerde
p = ('gp-');
else if (GVerde
p = ('gp:');
else if (GVerde
p = ('gp-.');
else if (GVerde
p = ('gp--');
else if (GNegro
p = ('kx-');
else if (GNegro
p = ('kx:');
else if (GNegro
p = ('kx-.');
else if (GNegro
p = ('kx--');
else if (GNegro
p = ('k+-');
else if (GNegro
p = ('k+:');
else if (GNegro
p = ('k+-.');
else if (GNegro
p = ('k+--');
else if (GNegro
p = ('ks-');
else if (GNegro
p = ('ks:');
else if (GNegro
p = ('ks-.');
else if (GNegro
p = ('ks--');
else if (GNegro
p = ('kd-');
else if (GNegro
p = ('kd:');
else if (GNegro
p = ('kd-.');
else if (GNegro
p = ('kd--');
else if (GNegro
p = ('k^-');
else if (GNegro
p = ('k^:');
else if (GNegro
p = ('k^-.');
else if (GNegro
p = ('k^--');
else if (GNegro
p = ('kV-');
else if (GNegro
p = ('kV:');
else if (GNegro
p = ('kV-.');
else if (GNegro
p = ('kV--');
else if (GNegro
p = ('kp-');
else if (GNegro
p = ('kp:');
else if (GNegro
p = ('kp-.');
else if (GNegro
p = ('kp--');
else if (GCyan
p = ('cx-');
else if (GCyan
p = ('cx:');
else if (GCyan
p = ('cx-.');
else if (GCyan
p = ('cx--');
else if (GCyan
p = ('c+-');
else if (GCyan
p = ('c+:');
else if (GCyan
p = ('c+-.');
else if (GCyan
p = ('c+--');
else if (GCyan
p = ('cs-');
else if (GCyan
p = ('cs:');
else if (GCyan
p = ('cs-.');
else if (GCyan
p = ('cs--');
else if (GCyan
p = ('cd-');
else if (GCyan
p = ('cd:');
else if (GCyan
p = ('cd-.');
else if (GCyan
p = ('cd--');
else if (GCyan
p = ('c^-');
else if (GCyan
p = ('c^:');
else if (GCyan
p = ('c^-.');
else if (GCyan
p = ('c^--');
else if (GCyan
p = ('cV-');
else if (GCyan
p = ('cV:');
else if (GCyan
p = ('cV-.');
else if (GCyan
p = ('cV--');
else if (GCyan
p = ('ch-');
else if (GCyan
p = ('ch:');
else if (GCyan
p = ('ch-.');
else if (GCyan
p = ('ch--');
p = ('cp-');
else if (GCyan == 1) && (GPentagono == 1) && (GPunteado == 1)
p = ('cp:');
else if (GCyan == 1) && (GPentagono == 1) && (GGuionP == 1)
p = ('cp-.');
else if (GCyan == 1) && (GPentagono == 1) && (GTrozos == 1)
p = ('cp--');
else if (GCyan
p = ('cp-');
else if (GCyan
p = ('cp:');
else if (GCyan
p = ('cp-.');
else if (GCyan
p = ('cp--');
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
if(GMagenta == 1) && (GPunto == 1) && (GSolido == 1)
p = ('m.-');
else if (GMagenta == 1) && (GPunto == 1) && (GPunteado == 1)
p = ('m.:');
else if (GMagenta == 1) && (GPunto == 1) && (GGuionP == 1)
p = ('m.-.');
else if (GMagenta == 1) && (GPunto == 1) && (GTrozos == 1)
p = ('m.--');
else if (GMagenta
p = ('mo-');
else if (GMagenta
p = ('mo:');
else if (GMagenta
p = ('mo-.');
else if (GMagenta
p = ('mo--');
p = ('mx-');
else if (GMagenta == 1) && (GCruz == 1) && (GPunteado == 1)
p = ('mx:');
else if (GMagenta == 1) && (GCruz == 1) && (GGuionP == 1)
p = ('mx-.');
else if (GMagenta == 1) && (GCruz == 1) && (GTrozos == 1)
p = ('mx--');
else if (GMagenta
p = ('m+-');
else if (GMagenta
p = ('m+:');
else if (GMagenta
p = ('m+-.');
else if (GMagenta
p = ('m+--');
else if (GMagenta
p = ('ms-');
else if (GMagenta
p = ('ms:');
else if (GMagenta
p = ('ms-.');
else if (GMagenta
p = ('ms--');
else if (GMagenta
p = ('md-');
else if (GMagenta
p = ('md:');
else if (GMagenta
p = ('md-.');
else if (GMagenta
p = ('md--');
else if (GMagenta
p = ('m^-');
else if (GMagenta
p = ('m^:');
else if (GMagenta
p = ('m^-.');
else if (GMagenta
p = ('m^--');
else if (GMagenta
p = ('mV-');
else if (GMagenta
p = ('mV:');
else if (GMagenta
p = ('mV-.');
else if (GMagenta
p = ('mV--');
p = ('mh:');
else if (GMagenta == 1) && (GHexagono == 1) && (GGuionP == 1)
p = ('mh-.');
else if (GMagenta == 1) && (GHexagono == 1) && (GTrozos == 1)
p = ('mh--');
else if (GMagenta
p = ('mp-');
else if (GMagenta
p = ('mp:');
else if (GMagenta
p = ('mp-.');
else if (GMagenta
p = ('mp--');
else if (GMagenta
p = ('mp-');
else if (GMagenta
p = ('mp:');
else if (GMagenta
p = ('mp-.');
else if (GMagenta
p = ('mp--');
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
if (GSeno == 1)
x = -20:0.5:20;
y=sin(x);
handles.grafica;
plot(x,y,(p));
title(GTituloG);
xlabel(GTituloX);
ylabel(GTituloY);
else if (GCoseno == 1)
x = -20:0.5:20;
y=cos(x);
handles.grafica;
plot(x,y,(p))
title(GTituloG);
xlabel(GTituloX);
ylabel(GTituloY);
else if (GTangente == 1)
x = -20:0.5:20;
y=tan(x);
handles.grafica;
plot(x,y,(p))
title(GTituloG);
xlabel(GTituloX);
ylabel(GTituloY);
end
end
end