Skip to content

Commit

Permalink
Version 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ppizarror committed Sep 28, 2017
1 parent a1df6a7 commit 1ed8c80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions espectro_respuesta.m
Expand Up @@ -9,7 +9,7 @@
% Crea el espectro de respuesta a partir de un registro de aceleraciones.
%
% Autor: Pablo Pizarro R. @ ppizarror.com
% Versión: 2.3 (27/09/2017)
% Versión: 2.4 (27/09/2017)
% Licencia: GPLv2
% This program is free software; you can redistribute it and/or
% modify it under the terms of the GNU General Public License
Expand Down Expand Up @@ -101,12 +101,12 @@
set(gcf, 'name', plottitle);
movegui(fig, 'center');
subplot(3, 1, 1);
if plotlegend ~= ''
if ~strcmp(plotlegend, '')
semilogx(T, Sd, plotcolor, 'DisplayName', plotlegend);
else
semilogx(T, Sd, plotcolor, 'DisplayName', strcat('\beta=', num2str(beta)));
end
if showlegend && plotlegend ~= ''
if showlegend && ~strcmp(plotlegend, '')
legend(gca, 'show');
end
if dohold
Expand Down

0 comments on commit 1ed8c80

Please sign in to comment.