texlive[61068] Master/texmf-dist: bodeplot (16nov21)

commits+karl at tug.org commits+karl at tug.org
Tue Nov 16 22:22:11 CET 2021


Revision: 61068
          http://tug.org/svn/texlive?view=revision&revision=61068
Author:   karl
Date:     2021-11-16 22:22:11 +0100 (Tue, 16 Nov 2021)
Log Message:
-----------
bodeplot (16nov21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/bodeplot/bodeplot.pdf
    trunk/Master/texmf-dist/source/latex/bodeplot/bodeplot.dtx
    trunk/Master/texmf-dist/tex/latex/bodeplot/bodeplot.sty

Modified: trunk/Master/texmf-dist/doc/latex/bodeplot/bodeplot.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/bodeplot/bodeplot.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/bodeplot/bodeplot.dtx	2021-11-16 21:21:57 UTC (rev 61067)
+++ trunk/Master/texmf-dist/source/latex/bodeplot/bodeplot.dtx	2021-11-16 21:22:11 UTC (rev 61068)
@@ -51,8 +51,8 @@
 % \DoNotIndex{\newcommand,\xdef,\gdef,\def,\edef,\addplot,\approx,\arabic,\opt,\typ,\obj,\else,\if at pgfarg,\fi,\begin,\end,\feature,\footnotesize,\draw,\detokenize,\DeclareOption,\foreach,\ifdim,\ifodd,\Im,\Re,\let,\newif,\nextgroupplot,\noexpand,\expandafter,\unexpanded,\PackageError,\PackageWarning,\relax,\RequirePackage,\tikzset,\pgfmathsetmacro,\pgfmathtruncatemacro,\ProcessOptions}
 %
 % \title{The \textsf{bodeplot} package\thanks{This document
-% corresponds to \textsf{bodeplot}~v1.0.4,
-% dated November 5, 2021.}}
+% corresponds to \textsf{bodeplot}~v1.0.5,
+% dated November 15, 2021.}}
 % \author{Rushikesh Kamalapurkar \\ \texttt{rlkamalapurkar at gmail.com}}
 %
 % \maketitle
@@ -144,10 +144,21 @@
 % \end{figure}
 %
 % \DescribeEnv{BodePlot}
-% |\begin{BodePlot}|\oarg{axis-options}\marg{min-frequency}\marg{max-frequency}\\
+% |\begin{BodePlot}|\oarg{obj1/\marg{opt1},obj2/\marg{opt2},...}\\
+% \hspace*{3em}\marg{min-frequency}\marg{max-frequency}\\
 % \hspace*{2em}|\addBode...|\\
 % \hspace*{1.5em}|\end{BodePlot}|\\
-% The |BodePlot| environment works in conjunction with the parametric function generator macros |\addBodeZPKPlots|, |\addBodeTFPlot|, and |\addBodeComponentPlot|. If supplied, |axis-options| are passed directly to the |semilogaxis| environment and the frequency limits are translated to the x-axis limits and the domain of the |semilogaxis| environment. Example usage in the description of |\addBodeZPKPlots|, |\addBodeTFPlot|, and |\addBodeComponentPlot|.
+% The |BodePlot| environment works in conjunction with the parametric function generator macros |\addBodeZPKPlots|, |\addBodeTFPlot|, and |\addBodeComponentPlot|. The optional argument is comprised of a comma separated list of tuples, either |obj/{opt}| or just |{opt}|. Each tuple passes options to different |pgfplots| macros that generate the axes and the plots according to:
+% \begin{itemize}
+%  \item Tuples of the form |obj/{opt}|:
+%   \begin{itemize}
+%    \item |tikz/{opt}|: modify picture properties by adding options |{opt}| to the |tikzpicture| environment.
+%    \item |axes/{opt}|: modify axis properties by adding options |{opt}| to the |semilogaxis| environment.
+%    \item |commands/{opt}|: add any valid TikZ commands inside |semilogaxis| environment. The commands passed to |opt| need to be valid TikZ commands, separated by semicolons as usual.
+%   \end{itemize}
+%  \item Tuples of the form |{opt}| are passed directly to the |semilogaxis| environment.
+% \end{itemize}
+% The frequency limits are translated to the x-axis limits and the domain of the |semilogaxis| environment. Example usage in the description of |\addBodeZPKPlots|, |\addBodeTFPlot|, and |\addBodeComponentPlot|.
 %
 % \DescribeMacro{\addBodeZPKPlots}
 % |\addBodeZPKPlots| \oarg{approx1/\marg{opt1},approx2/\marg{opt2},...}\\
@@ -347,10 +358,21 @@
 % \end{figure}
 %
 % \DescribeEnv{NyquistPlot}
-% |\begin{NyquistPlot}|\oarg{axis-options}\marg{min-frequency}\marg{max-frequency}\\
+% |\begin{NyquistPlot}|\oarg{obj1/\marg{opt1},obj2/\marg{opt2},...}\\
+% \hspace*{3em}\marg{min-frequency}\marg{max-frequency}\\
 % \hspace*{2em}|\addNyquist...|\\
 % \hspace*{1.5em}|\end{NyquistPlot}|\\
-% The |NyquistPlot| environment works in conjunction with the parametric function generator macros |\addNyquistZPKPlot| and |\addNyquistTFPlot|. If supplied, |axis-options| are passed directly to the |axis| environment and the frequency limits are translated to the x-axis limits and the domain of the |axis| environment.
+% The |NyquistPlot| environment works in conjunction with the parametric function generator macros |\addNyquistZPKPlot| and |\addNyquistTFPlot|. The optional argument is comprised of a comma separated list of tuples, either |obj/{opt}| or just |{opt}|. Each tuple passes options to different |pgfplots| macros that generate the axes and the plots according to:
+% \begin{itemize}
+%  \item Tuples of the form |obj/{opt}|:
+%   \begin{itemize}
+%    \item |tikz/{opt}|: modify picture properties by adding options |{opt}| to the |tikzpicture| environment.
+%    \item |axes/{opt}|: modify axis properties by adding options |{opt}| to the |axis| environment.
+%    \item |commands/{opt}|: add any valid TikZ commands inside |axis| environment. The commands passed to |opt| need to be valid TikZ commands, separated by semicolons as usual.
+%   \end{itemize}
+%  \item Tuples of the form |{opt}| are passed directly to the |axis| environment.
+% \end{itemize}
+% The frequency limits are translated to the x-axis limits and the domain of the |axis| environment.
 %
 % \DescribeMacro{\addNyquistZPKPlot}
 % |\addNyquistZPKPlot|\oarg{plot-options}\\
@@ -392,10 +414,21 @@
 %
 %
 % \DescribeEnv{NicholsChart}
-% |\begin{NicholsChart}|\oarg{axis-options}\marg{min-frequency}\marg{max-frequency}\\
+% |\begin{NicholsChart}|\oarg{obj1/\marg{opt1},obj2/\marg{opt2},...}\\
+% \hspace*{3em}\marg{min-frequency}\marg{max-frequency}\\
 % \hspace*{2em}|\addNichols...|\\
 % \hspace*{1.5em}|\end{NicholsChart}|\\
-% The |NicholsChart| environment works in conjunction with the parametric function generator macros |\addNicholsZPKChart| and |\addNicholsTFChart|. If supplied, |axis-options| are passed directly to the |axis| environment and the frequency limits are translated to the x-axis limits and the domain of the |axis| environment.
+% The |NicholsChart| environment works in conjunction with the parametric function generator macros |\addNicholsZPKChart| and |\addNicholsTFChart|. The optional argument is comprised of a comma separated list of tuples, either |obj/{opt}| or just |{opt}|. Each tuple passes options to different |pgfplots| macros that generate the axes and the plots according to:
+% \begin{itemize}
+%  \item Tuples of the form |obj/{opt}|:
+%   \begin{itemize}
+%    \item |tikz/{opt}|: modify picture properties by adding options |{opt}| to the |tikzpicture| environment.
+%    \item |axes/{opt}|: modify axis properties by adding options |{opt}| to the |axis| environment.
+%    \item |commands/{opt}|: add any valid TikZ commands inside |axis| environment. The commands passed to |opt| need to be valid TikZ commands, separated by semicolons as usual.
+%   \end{itemize}
+%  \item Tuples of the form |{opt}| are passed directly to the |axis| environment.
+% \end{itemize}
+% The frequency limits are translated to the x-axis limits and the domain of the |axis| environment.
 %
 % \DescribeMacro{\addNicholsZPKChart}
 % |\addNicholsZPKChart|\oarg{plot-options}\\
@@ -1135,7 +1168,7 @@
             \xdef\opt at approx{\unexpanded\expandafter{\opt}}%
           \else
             \ifnum\pdfstrcmp{\unexpanded\expandafter{\obj}}{commands}=0
-              \ifnum\pdfstrcmp{\unexpanded\expandafter{\typ}}{phase}=0
+              \ifnum\pdfstrcmp{\unexpanded\expandafter{\typ}}{ph}=0
                 \xdef\optph at commands{\unexpanded\expandafter{\opt}}%
               \else
                 \xdef\optmag at commands{\unexpanded\expandafter{\opt}}%

Modified: trunk/Master/texmf-dist/tex/latex/bodeplot/bodeplot.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bodeplot/bodeplot.sty	2021-11-16 21:21:57 UTC (rev 61067)
+++ trunk/Master/texmf-dist/tex/latex/bodeplot/bodeplot.sty	2021-11-16 21:22:11 UTC (rev 61068)
@@ -496,7 +496,7 @@
             \xdef\opt at approx{\unexpanded\expandafter{\opt}}%
           \else
             \ifnum\pdfstrcmp{\unexpanded\expandafter{\obj}}{commands}=0
-              \ifnum\pdfstrcmp{\unexpanded\expandafter{\typ}}{phase}=0
+              \ifnum\pdfstrcmp{\unexpanded\expandafter{\typ}}{ph}=0
                 \xdef\optph at commands{\unexpanded\expandafter{\opt}}%
               \else
                 \xdef\optmag at commands{\unexpanded\expandafter{\opt}}%



More information about the tex-live-commits mailing list.