¿Cómo dibujar mejor esta figura (mapeo entre dominios)?

¿Cómo dibujar mejor esta figura (mapeo entre dominios)?

Estoy intentando dibujar algo similar a esto:

ingrese la descripción de la imagen aquí

Esto es lo que he hecho hasta ahora:

ingrese la descripción de la imagen aquí

\documentclass{article}
\usepackage{tikz}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{5pt}
\begin{document}
\begin{tikzpicture}
\draw plot [smooth cycle] coordinates {(5,0.25) (6,0.35) (6.5, 0.2) (7,0.5) (7,1.65) (6.5,2.75) (5.8,2.75) (5.3,1.45) (4.8,0.85) } node at (6,1.7) {$X$};
\path[->] (3.1,1.7) edge [bend left] node[above] {$f$} (5.0,1.7);
\draw plot [smooth cycle] coordinates {(1.0,.1)(1.5,.2)(2.8,.5)(2.9,1.5)(2.8,2.8)(1.4,2.5)(0.5,0.5)} node at (1.8,1.8) {$U$};
\coordinate (O) at (0,0,0);
\draw[thick,->] (O) -- (1,0,0) node[anchor=north east]{$u_2$};
\draw[thick,->] (O) -- (0,1,0) node[anchor=north west]{$u_3$};
\draw[thick,->] (O) -- (0,0,1) node[anchor=south]{$u_1$};

\coordinate (B) at (4,0,0);
\draw[thick,->] (B) -- (5,0,0) node[anchor=north east]{$x_2$};
\draw[thick,->] (B) -- (4,1,0) node[anchor=north west]{$x_3$};
\draw[thick,->] (B) -- (4,0,1) node[anchor=south]{$x_1$};
\end{tikzpicture} 
\end{document}

No me gustó la calidad de las líneas de los ejes, ni la ubicación de las etiquetas de los ejes. Se agradecería cualquier mejora en el dibujo.

Respuesta1

¿Te refieres a algo como esto? La arrows.metabiblioteca no es estrictamente necesaria a menos que desee utilizar una de las nuevas puntas de flecha. En ese caso, reemplácelo -{Straight Barb[length=5pt,width=5pt]}con ->.

Producción

ingrese la descripción de la imagen aquí

Código

\documentclass[margin=10pt]{standalone}
\usepackage{tikz}

\usetikzlibrary{arrows.meta}

\begin{document}
\begin{tikzpicture}
% axes
\coordinate (O) at (0,0,0);
\draw[thick,->] (O) -- (1,0,0) node[anchor=west]{$u_2$};
\draw[thick,->] (O) -- (0,1,0) node[anchor=south]{$u_3$};
\draw[thick,->] (O) -- (0,0,1) node[anchor=north east]{$u_1$};

\coordinate (B) at (4,0,0);
\draw[thick,->] (B) -- (5,0,0) node[anchor=west]{$x_2$};
\draw[thick,->] (B) -- (4,1,0) node[anchor=south]{$x_3$};
\draw[thick,->] (B) -- (4,0,1) node[anchor=north east]{$x_1$};

% plots
\draw plot [smooth cycle] coordinates {(1.0,.1)(1.5,.2)(2.8,.5)(2.9,1.5)(2.8,2.8)(1.4,2.5)(0.5,0.5)} 
        node[circle, fill=black, inner sep=1.5pt, label=below:$U$] (u) at (1.8,1.8) {};
\draw plot [smooth cycle] coordinates {(5,0.25) (6,0.35) (6.5, 0.2) (7,0.5) (7,1.65) (6.5,2.75) (5.8,2.75) (5.3,1.45) (4.8,0.85) } 
        node[circle, fill=black, inner sep=1.5pt, label=below:$X$] (x) at (6,1.7) {};
\draw[-{Straight Barb[length=5pt,width=5pt]}, dashed] (u) edge[out=-20, in=160] node[above] {$f$} (x);
\end{tikzpicture} 
\end{document}

información relacionada