i am trying to have two subfigures align, i.e. the bottom of the images be level, in addition to the subcaptions being level. Using normal subfigures, i know i can use [t]. The fact that i am putting axes labels on with tikzpicture, and have a differential as a label, which takes more vertical space, seems to change this. I have used code from Adding axes labels to LaTeX figures to add axes labels and "Evaluated at" bar for derivatives: \Bigr, \biggr, or \left...\right? for the differential evaluation.
Here is my code:
\documentclass{article}
\usepackage{amsmath,mleftright}
\usepackage{xparse}
\usepackage{tikz}
\usepackage{graphicx}
\usetikzlibrary{positioning}
\NewDocumentCommand{\evalat}{sO{\big}mm}{%
\IfBooleanTF{#1}
{\mleft. #3 \mright|_{#4}}
{#3#2|_{#4}}%
}
\begin{document}
\begin{figure}[h!]
\centering
\begin{subfigure}[t]{0.47\textwidth}
\begin{tikzpicture}[t]
\node (img1) {\includegraphics[scale=0.5]{image1.png}};
\node[below=of img1, node distance=0cm, yshift=1cm] {Rise Time};
\node[left=of img1, node distance=0cm, rotate=90, anchor=center,yshift=-0.7cm] {Velocity};
\end{tikzpicture}
\caption{test1}
\label{fig:velrise}
\end{subfigure}
\begin{subfigure}[t]{0.47\textwidth}
\begin{tikzpicture}[t]
\node (img1) {\includegraphics[scale=0.5]{image2.png}};
\node[below=of img1, node distance=0cm, yshift=1cm] {$\evalat[\big]{\frac{dQ}{dt}}{\text{max}}$};
\node[left=of img1, node distance=0cm, rotate=90, anchor=center,yshift=-0.7cm] {Velocity};
\end{tikzpicture}
\caption{test}
\label{fig:dqdtrise}
\end{subfigure}
\caption{test3}
\label{fig:matrices}
\end{figure}
\end{document}
The input images are: