2

Apart from the fact that your document did not compile, you confused the slope with the offset. \pgfplotstableregressiona is the slope and \pgfplotstableregressionb is the offset. If you correct that, you get \documentclass[12pt,letterpaper]{article} \usepackage[letterpaper, margin = 1 in]{geometry} \usepackage[spanish, es-tabla]{babel} \usepackage[utf8]{...


2

It is possible, but have to use dcolumn instead of siunitx, below are the modified tags: \documentclass{standalone} \usepackage{pgfplotstable} \usepackage{dcolumn}% \newcolumntype{d}[1]{D{.}{.}{#1}}% \begin{document} \begin{tabular}{d{2,3} d{2,3}} a & b \\ -0.135 & \pgfmathprintnumber{-0.135} \\ 0.1 & \...


2

One can rewrite the input touchstone file with the help of a luascript if the document is compiled with lualatex. The lua code can be called from inside the .tex file. Since this lua script writes a new data file, enabling -shell-escape is required for this solution. As mentioned in the question, no action is required for one- and two-port files (*.s1p and *...


Only top voted, non community-wiki answers of a minimum length are eligible