Using the following code I can draw a line in certain attributes, and then continue it in different attributes. Can this be done in one \draw command, instead of using two \draw commands?
I tried using edge from the answer of this question, but I could not apply it to get the following result.
\documentclass{beamer}
\beamertemplatenavigationsymbolsempty
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{frame}[fragile,t]
\frametitle{}
\begin{tikzpicture}[scale=.9, transform shape]
\draw [thick,-latex](0,0) -- (9,0) node [black, xshift=-.6cm, yshift=-.34cm] {S};
\draw [thick,-latex](0,0) -- (0,2.) node [black, xshift=-.2cm, yshift=.3cm] {E};
\draw [very thick, black] (0,1.) -- +(0:3.cm) node [black, xshift=.5cm, yshift=0cm] {MC};
\draw [thick, red, densely dashed] (3.86,1.) -- +(0:5.cm) node [red, xshift=0cm, yshift=0cm] {x};
\end{tikzpicture}
\end{frame}
\end{document}



xshift=5cmyou could also just put++(0:5.cm)twice: the first time to set the end point of the edge, the second time to set the location of the node. – Jul 23 '18 at 07:17