Skip to content

Commit

Permalink
v 1.1.3 final
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushikesh Kamalapurkar committed Nov 2, 2022
1 parent 7fd3619 commit 6609388
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions bodeplot.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
%</driver>
% \fi
%
% \CheckSum{1629}
% \CheckSum{1641}
%
% \changes{v1.0}{2021/10/25}{Initial release}
% \changes{v1.0.4}{2021/11/05}{Fixed unintended optional argument macro expansion}
Expand Down Expand Up @@ -1396,9 +1396,11 @@ Nyquist plots with additional commands, using two different macros
\fi
\if@pgfarg
\ifnum\pdf@strcmp{#2}{phase}=0
\addplot [freq@filter, domain=\freq@scale*\pgfkeysvalueof{/pgfplots/domain}*\freq@scale, variable=t, #1]{\n@mod{\plot@macro}{2*pi}};
\edef\temp@cmd{\noexpand\addplot [freq@filter, domain=\freq@scale*\pgfkeysvalueof{/pgfplots/domain}*\freq@scale, variable=t, #1]}
\temp@cmd {\n@mod{\plot@macro}{2*pi}};
\else
\addplot [freq@filter, domain=\freq@scale*\pgfkeysvalueof{/pgfplots/domain}*\freq@scale, variable=t, #1]{\plot@macro};
\edef\temp@cmd{\noexpand\addplot [freq@filter, domain=\freq@scale*\pgfkeysvalueof{/pgfplots/domain}*\freq@scale, variable=t, #1]}
\temp@cmd {\plot@macro};
\fi
\else
\stepcounter{gnuplot@id}
Expand Down Expand Up @@ -1434,7 +1436,8 @@ Nyquist plots with additional commands, using two different macros
% \begin{macrocode}
\newcommand{\addBodeComponentPlot}[2][thick]{
\if@pgfarg
\addplot [freq@filter, domain=\freq@scale*\pgfkeysvalueof{/pgfplots/domain}*\freq@scale, variable=t, #1] {#2};
\edef\temp@cmd{\noexpand\addplot [freq@filter, domain=\freq@scale*\pgfkeysvalueof{/pgfplots/domain}*\freq@scale, variable=t, #1]}
\temp@cmd {#2};
\else
\stepcounter{gnuplot@id}
\addplot [variable=t, #1] gnuplot [raw gnuplot, gnuplot@prefix]
Expand Down

0 comments on commit 6609388

Please sign in to comment.