From pg. 61 of Principles of Quantum Mechanics, the Guassian $g_Δ$ is defined as
$$ g_Δ(x-x') = \frac{1}{(πΔ^2)^{1/2}} \exp \left[ -\frac{(x-x')^2}{Δ^2} \right] $$
where the Gaussian is centered at $x'=x$, has width $\Delta$, maximum height $(π Δ^2)^{-1/2}$, and has unit area (independent of $Δ$). In case it matters, we can assume that $Δ ∈ \mathbb{R}$.
Problem: The book goes on to display the derivative of $g_\Delta$ as follows:
It seems to me the derivative graph (b) is wrong, since it is negative when $x' < x$ and positive when $x' > x$. Isn't this exactly backwards, and if not, why?
EDIT for bounty: The crux of my confusion lies in understanding/getting a different viewpoint for why
$$ \frac{dg_\Delta(x-x')}{dx} = -\frac{dg_\Delta(x-x')}{dx'} $$
Moreover, is this actually a general theorem, or is this using something special about $g_\Delta$ in particular? That is, if we let $x,' \in \mathbb{R}$ and consider $f(x-x')$ as an arbitrary real function, do we have in general that
$$ \frac{df(x-x')}{dx} = -\frac{df(x-x')}{dx'}? $$



This is due to the chain rule.
For any differentiable function,
$$\frac d{dx}f(x-x')=-\frac d{dx'}f(x-x')$$ just because
$$\frac d{dx}(x-x')=1$$ and $$\frac d{dx'}(x-x')=-1.$$
The plot in the book is correct because the dérivative is on $x$, while the axis is $x'$.