From f010fff8b2f9db516b613875a486f3c66437d957 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 16 Nov 2021 21:22:11 +0000 Subject: bodeplot (16nov21) git-svn-id: svn://tug.org/texlive/trunk@61068 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/bodeplot/bodeplot.pdf | Bin 498916 -> 460394 bytes .../texmf-dist/source/latex/bodeplot/bodeplot.dtx | 51 +++++++++++++++++---- Master/texmf-dist/tex/latex/bodeplot/bodeplot.sty | 2 +- 3 files changed, 43 insertions(+), 10 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/bodeplot/bodeplot.pdf b/Master/texmf-dist/doc/latex/bodeplot/bodeplot.pdf index bd20ff3dd5d..9a7b1999851 100644 Binary files a/Master/texmf-dist/doc/latex/bodeplot/bodeplot.pdf and b/Master/texmf-dist/doc/latex/bodeplot/bodeplot.pdf differ diff --git a/Master/texmf-dist/source/latex/bodeplot/bodeplot.dtx b/Master/texmf-dist/source/latex/bodeplot/bodeplot.dtx index 7ebfd3b754c..7b775b916a1 100644 --- a/Master/texmf-dist/source/latex/bodeplot/bodeplot.dtx +++ b/Master/texmf-dist/source/latex/bodeplot/bodeplot.dtx @@ -51,8 +51,8 @@ % \DoNotIndex{\newcommand,\xdef,\gdef,\def,\edef,\addplot,\approx,\arabic,\opt,\typ,\obj,\else,\if@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@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@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@commands{\unexpanded\expandafter{\opt}}% \else \xdef\optmag@commands{\unexpanded\expandafter{\opt}}% diff --git a/Master/texmf-dist/tex/latex/bodeplot/bodeplot.sty b/Master/texmf-dist/tex/latex/bodeplot/bodeplot.sty index b567edc9713..78904bffbcc 100644 --- a/Master/texmf-dist/tex/latex/bodeplot/bodeplot.sty +++ b/Master/texmf-dist/tex/latex/bodeplot/bodeplot.sty @@ -496,7 +496,7 @@ \xdef\opt@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@commands{\unexpanded\expandafter{\opt}}% \else \xdef\optmag@commands{\unexpanded\expandafter{\opt}}% -- cgit v1.2.3