Trying to plot the 3D curve
(t,t^2,2*t^3), t\in [0,1],
with the code:
\begin{tikzpicture}
\begin{axis}
%view={105}{5},
[samples y=0, axis lines=center,axis on top,xlabel=$x$, ylabel=$y$, zlabel=$z$]
\addplot3+[no markers,variable=t,domain=0:1,blue,samples=80,samples y=0] (t,t^2,2*t^3);
\end{axis}
\end{tikzpicture}
I got the following output:
But I want to plot that curve in the regular coordinate system:
\begin{tikzpicture}
\draw[thick,->] (0,0,0)coordinate (O) -- (3,0,0) coordinate (X)
node[anchor=north east]{$y$};
\draw[thick,->] (0,0,0) -- (0,3,0) coordinate (Y) node[anchor=north
west]{$z$};
\draw[thick,->] (0,0,0) -- (0,0,3) coordinate (Z) node[anchor=south]{$x$};
\end{tikzpicture}
that is:
Which would be the code ?
Later Edit: By using view{95}{5}, the axes seem to be like in the second output, but not perfect:
\begin{tikzpicture}
\begin{axis}
[view={95}{5}, samples y=0, axis lines=center,axis on top,xlabel=$x$, ylabel=$y$, zlabel=$z$]
\addplot3+[no markers,variable=t,domain=0:1,blue,samples=80,samples y=0] (t,t^2,2*t^3);
\end{axis}
\end{tikzpicture}




view=won't be enough to solve your problem, you need something more - take a look at this question, which seems to deal with a similar issue. – Jānis Lazovskis Dec 04 '17 at 20:27