1

I want to draw a glass of wine, as the following example. enter image description here

I could only do half the Cup, missing the feet and strong color of the wine. Also need to delete the axes, to leave only the figure.

\documentclass[12pt]{article}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}

\begin{axis}[view={40}{10}]
\addplot3[surf,z buffer=sort,
samples=30,domain=-1:0,y domain=0:2*pi]
({sqrt(1-x^2) * cos(deg(y))},
{sqrt( 1-x^2 ) * sin(deg(y))},
x);

\end{axis}
\end{tikzpicture}
\end{document}

enter image description here

Zarko
  • 296,517
benedito
  • 4,600

0 Answers0