I realize it must be something SO basic, but I'm having difficulty figuring out where the problem can possible be.
It seems to me all three of these \addplots should be the same. However, only the first one works as expected (which is a problem, because I'm needing it to perform the calculation.
\documentclass[tikz]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\pgfmathparse{1+(6/100)}
\begin{axis}[
xtick distance=5,
minor x tick num=4
]
\addplot[smooth,green,domain=0:25] gnuplot [id=plot3] {1551.06x}; % works
\addplot[smooth,green,domain=0:25] gnuplot [id=plot2] {155(1+(6/100))x)}; % makes dumb flat line
\addplot[smooth,green,domain=0:25] gnuplot [id=plot4] {155*\pgfmathresultx}; % makes some sort of weird parobalic nonsense?
\end{axis}
\end{tikzpicture}
\end{document}
I can tell I'm not explaining my question very well, so please don't hesitate to direct me to reword or explain something.

\pgfmathresultis heavily used for any math operation. So probably, it will be overwritten by the time you use it (to calculate internal domain limit, whatever). I think you are looking fordeclare function? – Rmano Apr 26 '23 at 08:00gnuplot. You have a closing parenthesis more in the second function, and you need to write1+(6.0/100)forgnuplot, otherwise the division is integer.You have to use validgnuplotexpression there, not lpgfmathones. – Rmano Apr 26 '23 at 08:14