I am trying to produce the next figures: enter image description here enter image description here

I try with this code:

samples=30,trig format=rad,
domain=1:0, y domain=0:2*pi,
z buffer=sort]

But I do not understand why it does not produce what I need.


Here is a proposal for the mesh only. The blue curve can be done, too, but is more involved.

\begin{axis}[view={60}{20},unit vector ratio=1 1 0.5]
samples=31,trig format=rad,
domain=0:2, y domain=0:2*pi,
z buffer=sort]

enter image description here

| improve this answer | |
  • Thank you so much. Now it is working with small modifications to the code. – Alfredo Oct 16 '18 at 20:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.