Tangent Plane on a surfaceTangent plot on tikzTangent on parabolaThe intersection of a sphere with planes through an axis tangent to the north poleSphere Tangent to PlaneLizard tessellating the planeSurface plot over complex plane(TikZ) Comparison of Path on Sphere to Associated Path in the Tangent PlaneMaking a (filled) surface in a 3d plane to look like a (filled) ellipse in 3d planepgfplots piece-wise defined path not aligningpgfplots: How to draw a tangent graph below two others?

Moons and messages

Are cells guaranteed to get at least one mitochondrion when they divide?

How would a developer who mostly fixed bugs for years at a company call out their contributions in their CV?

Why is the Eisenstein ideal paper so great?

Are there any German nonsense poems (Jabberwocky)?

How can I minimize the damage of an unstable nuclear reactor to the surrounding area?

Papers on ArXiv as main references

Can flying creatures choose to hover, even if they don't have hover in their flying speed?

What is to the west of Westeros?

Is a world with one country feeding everyone possible?

Why did Drogon spare this character?

Why this character is punished instead of being honoured?

Gravitational Force Between Numbers

Question about Shemot, locusts

If I arrive in the UK, and then head to mainland Europe, does my Schengen visa 90 day limit start when I arrived in the UK, or mainland Europe?

Why is this integration method not valid?

relative price of a transistor and a capacitor

Navigating a quick return to previous employer

Magento2: How can call observer function in controller file?

Why is std::ssize() introduced in C++20?

Rewriting trigger for an old API version

Did Game of Thrones end the way that George RR Martin intended?

To exponential digit growth and beyond!

Why did OJ Simpson's trial take 9 months?



Tangent Plane on a surface


Tangent plot on tikzTangent on parabolaThe intersection of a sphere with planes through an axis tangent to the north poleSphere Tangent to PlaneLizard tessellating the planeSurface plot over complex plane(TikZ) Comparison of Path on Sphere to Associated Path in the Tangent PlaneMaking a (filled) surface in a 3d plane to look like a (filled) ellipse in 3d planepgfplots piece-wise defined path not aligningpgfplots: How to draw a tangent graph below two others?













3















I'm trying to graph the tangent plane on the unit sphere at the point (1, pi/3,pi/4). I'm new to tikz, so I'm unsure how to edit the graphs other users have made with the planes for each point. Here's the current graph of a sphere I have:



begintikzpicture
beginaxis[%
axis equal,
width=10cm,
height=10cm,
axis lines = center,
xlabel = $x$,
ylabel = $y$,
zlabel = $z$,
ticks=none,
enlargelimits=0.3,
view/h=45,
scale uniformly strategy=units only,
]
addplot3[%
opacity = 0.5,
surf,
z buffer = sort,
samples = 21,
variable = u,
variable y = v,
domain = 0:180,
y domain = 0:360,
]
(cos(u)*sin(v), sin(u)*sin(v), cos(v));
endaxis
endtikzpicture




What's the easiest way to add the tangent plane to the graph? Do I have to create 4 nodes and then fill the rectangle they make? Or is it possible to create a plane based on the span of two vectors originating from that point? Any and all help/explanations would be greatly appreciated!










share|improve this question







New contributor



beflyguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    3















    I'm trying to graph the tangent plane on the unit sphere at the point (1, pi/3,pi/4). I'm new to tikz, so I'm unsure how to edit the graphs other users have made with the planes for each point. Here's the current graph of a sphere I have:



    begintikzpicture
    beginaxis[%
    axis equal,
    width=10cm,
    height=10cm,
    axis lines = center,
    xlabel = $x$,
    ylabel = $y$,
    zlabel = $z$,
    ticks=none,
    enlargelimits=0.3,
    view/h=45,
    scale uniformly strategy=units only,
    ]
    addplot3[%
    opacity = 0.5,
    surf,
    z buffer = sort,
    samples = 21,
    variable = u,
    variable y = v,
    domain = 0:180,
    y domain = 0:360,
    ]
    (cos(u)*sin(v), sin(u)*sin(v), cos(v));
    endaxis
    endtikzpicture




    What's the easiest way to add the tangent plane to the graph? Do I have to create 4 nodes and then fill the rectangle they make? Or is it possible to create a plane based on the span of two vectors originating from that point? Any and all help/explanations would be greatly appreciated!










    share|improve this question







    New contributor



    beflyguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      3












      3








      3


      1






      I'm trying to graph the tangent plane on the unit sphere at the point (1, pi/3,pi/4). I'm new to tikz, so I'm unsure how to edit the graphs other users have made with the planes for each point. Here's the current graph of a sphere I have:



      begintikzpicture
      beginaxis[%
      axis equal,
      width=10cm,
      height=10cm,
      axis lines = center,
      xlabel = $x$,
      ylabel = $y$,
      zlabel = $z$,
      ticks=none,
      enlargelimits=0.3,
      view/h=45,
      scale uniformly strategy=units only,
      ]
      addplot3[%
      opacity = 0.5,
      surf,
      z buffer = sort,
      samples = 21,
      variable = u,
      variable y = v,
      domain = 0:180,
      y domain = 0:360,
      ]
      (cos(u)*sin(v), sin(u)*sin(v), cos(v));
      endaxis
      endtikzpicture




      What's the easiest way to add the tangent plane to the graph? Do I have to create 4 nodes and then fill the rectangle they make? Or is it possible to create a plane based on the span of two vectors originating from that point? Any and all help/explanations would be greatly appreciated!










      share|improve this question







      New contributor



      beflyguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I'm trying to graph the tangent plane on the unit sphere at the point (1, pi/3,pi/4). I'm new to tikz, so I'm unsure how to edit the graphs other users have made with the planes for each point. Here's the current graph of a sphere I have:



      begintikzpicture
      beginaxis[%
      axis equal,
      width=10cm,
      height=10cm,
      axis lines = center,
      xlabel = $x$,
      ylabel = $y$,
      zlabel = $z$,
      ticks=none,
      enlargelimits=0.3,
      view/h=45,
      scale uniformly strategy=units only,
      ]
      addplot3[%
      opacity = 0.5,
      surf,
      z buffer = sort,
      samples = 21,
      variable = u,
      variable y = v,
      domain = 0:180,
      y domain = 0:360,
      ]
      (cos(u)*sin(v), sin(u)*sin(v), cos(v));
      endaxis
      endtikzpicture




      What's the easiest way to add the tangent plane to the graph? Do I have to create 4 nodes and then fill the rectangle they make? Or is it possible to create a plane based on the span of two vectors originating from that point? Any and all help/explanations would be greatly appreciated!







      tikz-pgf graphs






      share|improve this question







      New contributor



      beflyguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      beflyguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      beflyguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 6 hours ago









      beflyguybeflyguy

      161




      161




      New contributor



      beflyguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      beflyguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          4














          This is a style that inserts a plane at a point that is spanned by two vectors.



          documentclass[tikz,border=3.14mm]standalone
          usepackagepgfplots
          pgfplotssetcompat=1.16
          usetikzlibrarycalc
          begindocument
          defVecAdd(#1,#2,#3)+(#4,#5,#6)->#7XXXedef#7(#1+1*(#4),#2+1*(#5),#3+(#6))
          begintikzpicture[tangent plane/.style args=at #1 with vectors #2 and #3%
          /utils/exec=edeftempnoexpandVecAdd#1+#2->noexpandmyvecOne XXX%
          temp%
          edeftempnoexpandVecAddmyvecOne+#3->noexpandmyvecTwo XXX%
          temp
          edeftempnoexpandVecAdd#1+#3->noexpandmyvecThree XXX%
          temp,
          insert path=#1 -- myvecOne -- myvecTwo -- myvecThree -- cycle]
          beginaxis[%
          axis equal,
          width=10cm,
          height=10cm,
          axis lines = center,
          xlabel = $x$,
          ylabel = $y$,
          zlabel = $z$,
          ticks=none,
          enlargelimits=0.3,
          view/h=45,
          scale uniformly strategy=units only,
          ]
          addplot3[%
          opacity = 0.5,
          surf,
          z buffer = sort,
          samples = 21,
          variable = u,
          variable y = v,
          domain = 0:180,
          y domain = 0:360,
          ]
          (cos(u)*sin(v), sin(u)*sin(v), cos(v));
          draw[fill=white,fill opacity=0.4,
          tangent plane=at (-0.5,-0.5,1) with vectors (1,0,0) and (0,1,0)];
          endaxis
          endtikzpicture
          enddocument


          enter image description here



          The mandatory animation:



          documentclass[tikz,border=3.14mm]standalone
          usepackagepgfplots
          pgfplotssetcompat=1.16
          usetikzlibrarycalc
          begindocument
          defVecAdd(#1,#2,#3)+(#4,#5,#6)->#7XXXedef#7(#1+1*(#4),#2+1*(#5),#3+(#6))
          tikzsettangent plane/.style args=at #1 with vectors #2 and #3%
          /utils/exec=edeftempnoexpandVecAdd#1+#2->noexpandmyvecOne XXX%
          temp%
          edeftempnoexpandVecAddmyvecOne+#3->noexpandmyvecTwo XXX%
          temp
          edeftempnoexpandVecAdd#1+#3->noexpandmyvecThree XXX%
          temp,
          insert path=#1 -- myvecOne -- myvecTwo -- myvecThree -- cycle
          foreach Angle in 90,85,...,0
          begintikzpicture
          beginaxis[hide axis,
          axis equal,
          width=10cm,
          height=10cm,
          axis lines = center,
          xlabel = $x$,
          ylabel = $y$,
          zlabel = $z$,
          ticks=none,
          enlargelimits=0.3,
          view/h=45,
          scale uniformly strategy=units only,
          ]
          addplot3[%
          opacity = 0.5,
          surf,
          z buffer = sort,
          samples = 21,
          variable = u,
          variable y = v,
          domain = 0:180,
          y domain = 0:360,
          ]
          (cos(u)*sin(v), sin(u)*sin(v), cos(v));
          draw[overlay,fill=white,fill opacity=0.4,
          tangent plane=at (cos(Angle)-0.5*sin(Angle),-0.5,sin(Angle)) with
          vectors (sin(Angle),0,-cos(Angle)) and (0,1,0)];
          endaxis
          endtikzpicture
          enddocument


          enter image description here






          share|improve this answer

























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "85"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );






            beflyguy is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f491835%2ftangent-plane-on-a-surface%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4














            This is a style that inserts a plane at a point that is spanned by two vectors.



            documentclass[tikz,border=3.14mm]standalone
            usepackagepgfplots
            pgfplotssetcompat=1.16
            usetikzlibrarycalc
            begindocument
            defVecAdd(#1,#2,#3)+(#4,#5,#6)->#7XXXedef#7(#1+1*(#4),#2+1*(#5),#3+(#6))
            begintikzpicture[tangent plane/.style args=at #1 with vectors #2 and #3%
            /utils/exec=edeftempnoexpandVecAdd#1+#2->noexpandmyvecOne XXX%
            temp%
            edeftempnoexpandVecAddmyvecOne+#3->noexpandmyvecTwo XXX%
            temp
            edeftempnoexpandVecAdd#1+#3->noexpandmyvecThree XXX%
            temp,
            insert path=#1 -- myvecOne -- myvecTwo -- myvecThree -- cycle]
            beginaxis[%
            axis equal,
            width=10cm,
            height=10cm,
            axis lines = center,
            xlabel = $x$,
            ylabel = $y$,
            zlabel = $z$,
            ticks=none,
            enlargelimits=0.3,
            view/h=45,
            scale uniformly strategy=units only,
            ]
            addplot3[%
            opacity = 0.5,
            surf,
            z buffer = sort,
            samples = 21,
            variable = u,
            variable y = v,
            domain = 0:180,
            y domain = 0:360,
            ]
            (cos(u)*sin(v), sin(u)*sin(v), cos(v));
            draw[fill=white,fill opacity=0.4,
            tangent plane=at (-0.5,-0.5,1) with vectors (1,0,0) and (0,1,0)];
            endaxis
            endtikzpicture
            enddocument


            enter image description here



            The mandatory animation:



            documentclass[tikz,border=3.14mm]standalone
            usepackagepgfplots
            pgfplotssetcompat=1.16
            usetikzlibrarycalc
            begindocument
            defVecAdd(#1,#2,#3)+(#4,#5,#6)->#7XXXedef#7(#1+1*(#4),#2+1*(#5),#3+(#6))
            tikzsettangent plane/.style args=at #1 with vectors #2 and #3%
            /utils/exec=edeftempnoexpandVecAdd#1+#2->noexpandmyvecOne XXX%
            temp%
            edeftempnoexpandVecAddmyvecOne+#3->noexpandmyvecTwo XXX%
            temp
            edeftempnoexpandVecAdd#1+#3->noexpandmyvecThree XXX%
            temp,
            insert path=#1 -- myvecOne -- myvecTwo -- myvecThree -- cycle
            foreach Angle in 90,85,...,0
            begintikzpicture
            beginaxis[hide axis,
            axis equal,
            width=10cm,
            height=10cm,
            axis lines = center,
            xlabel = $x$,
            ylabel = $y$,
            zlabel = $z$,
            ticks=none,
            enlargelimits=0.3,
            view/h=45,
            scale uniformly strategy=units only,
            ]
            addplot3[%
            opacity = 0.5,
            surf,
            z buffer = sort,
            samples = 21,
            variable = u,
            variable y = v,
            domain = 0:180,
            y domain = 0:360,
            ]
            (cos(u)*sin(v), sin(u)*sin(v), cos(v));
            draw[overlay,fill=white,fill opacity=0.4,
            tangent plane=at (cos(Angle)-0.5*sin(Angle),-0.5,sin(Angle)) with
            vectors (sin(Angle),0,-cos(Angle)) and (0,1,0)];
            endaxis
            endtikzpicture
            enddocument


            enter image description here






            share|improve this answer





























              4














              This is a style that inserts a plane at a point that is spanned by two vectors.



              documentclass[tikz,border=3.14mm]standalone
              usepackagepgfplots
              pgfplotssetcompat=1.16
              usetikzlibrarycalc
              begindocument
              defVecAdd(#1,#2,#3)+(#4,#5,#6)->#7XXXedef#7(#1+1*(#4),#2+1*(#5),#3+(#6))
              begintikzpicture[tangent plane/.style args=at #1 with vectors #2 and #3%
              /utils/exec=edeftempnoexpandVecAdd#1+#2->noexpandmyvecOne XXX%
              temp%
              edeftempnoexpandVecAddmyvecOne+#3->noexpandmyvecTwo XXX%
              temp
              edeftempnoexpandVecAdd#1+#3->noexpandmyvecThree XXX%
              temp,
              insert path=#1 -- myvecOne -- myvecTwo -- myvecThree -- cycle]
              beginaxis[%
              axis equal,
              width=10cm,
              height=10cm,
              axis lines = center,
              xlabel = $x$,
              ylabel = $y$,
              zlabel = $z$,
              ticks=none,
              enlargelimits=0.3,
              view/h=45,
              scale uniformly strategy=units only,
              ]
              addplot3[%
              opacity = 0.5,
              surf,
              z buffer = sort,
              samples = 21,
              variable = u,
              variable y = v,
              domain = 0:180,
              y domain = 0:360,
              ]
              (cos(u)*sin(v), sin(u)*sin(v), cos(v));
              draw[fill=white,fill opacity=0.4,
              tangent plane=at (-0.5,-0.5,1) with vectors (1,0,0) and (0,1,0)];
              endaxis
              endtikzpicture
              enddocument


              enter image description here



              The mandatory animation:



              documentclass[tikz,border=3.14mm]standalone
              usepackagepgfplots
              pgfplotssetcompat=1.16
              usetikzlibrarycalc
              begindocument
              defVecAdd(#1,#2,#3)+(#4,#5,#6)->#7XXXedef#7(#1+1*(#4),#2+1*(#5),#3+(#6))
              tikzsettangent plane/.style args=at #1 with vectors #2 and #3%
              /utils/exec=edeftempnoexpandVecAdd#1+#2->noexpandmyvecOne XXX%
              temp%
              edeftempnoexpandVecAddmyvecOne+#3->noexpandmyvecTwo XXX%
              temp
              edeftempnoexpandVecAdd#1+#3->noexpandmyvecThree XXX%
              temp,
              insert path=#1 -- myvecOne -- myvecTwo -- myvecThree -- cycle
              foreach Angle in 90,85,...,0
              begintikzpicture
              beginaxis[hide axis,
              axis equal,
              width=10cm,
              height=10cm,
              axis lines = center,
              xlabel = $x$,
              ylabel = $y$,
              zlabel = $z$,
              ticks=none,
              enlargelimits=0.3,
              view/h=45,
              scale uniformly strategy=units only,
              ]
              addplot3[%
              opacity = 0.5,
              surf,
              z buffer = sort,
              samples = 21,
              variable = u,
              variable y = v,
              domain = 0:180,
              y domain = 0:360,
              ]
              (cos(u)*sin(v), sin(u)*sin(v), cos(v));
              draw[overlay,fill=white,fill opacity=0.4,
              tangent plane=at (cos(Angle)-0.5*sin(Angle),-0.5,sin(Angle)) with
              vectors (sin(Angle),0,-cos(Angle)) and (0,1,0)];
              endaxis
              endtikzpicture
              enddocument


              enter image description here






              share|improve this answer



























                4












                4








                4







                This is a style that inserts a plane at a point that is spanned by two vectors.



                documentclass[tikz,border=3.14mm]standalone
                usepackagepgfplots
                pgfplotssetcompat=1.16
                usetikzlibrarycalc
                begindocument
                defVecAdd(#1,#2,#3)+(#4,#5,#6)->#7XXXedef#7(#1+1*(#4),#2+1*(#5),#3+(#6))
                begintikzpicture[tangent plane/.style args=at #1 with vectors #2 and #3%
                /utils/exec=edeftempnoexpandVecAdd#1+#2->noexpandmyvecOne XXX%
                temp%
                edeftempnoexpandVecAddmyvecOne+#3->noexpandmyvecTwo XXX%
                temp
                edeftempnoexpandVecAdd#1+#3->noexpandmyvecThree XXX%
                temp,
                insert path=#1 -- myvecOne -- myvecTwo -- myvecThree -- cycle]
                beginaxis[%
                axis equal,
                width=10cm,
                height=10cm,
                axis lines = center,
                xlabel = $x$,
                ylabel = $y$,
                zlabel = $z$,
                ticks=none,
                enlargelimits=0.3,
                view/h=45,
                scale uniformly strategy=units only,
                ]
                addplot3[%
                opacity = 0.5,
                surf,
                z buffer = sort,
                samples = 21,
                variable = u,
                variable y = v,
                domain = 0:180,
                y domain = 0:360,
                ]
                (cos(u)*sin(v), sin(u)*sin(v), cos(v));
                draw[fill=white,fill opacity=0.4,
                tangent plane=at (-0.5,-0.5,1) with vectors (1,0,0) and (0,1,0)];
                endaxis
                endtikzpicture
                enddocument


                enter image description here



                The mandatory animation:



                documentclass[tikz,border=3.14mm]standalone
                usepackagepgfplots
                pgfplotssetcompat=1.16
                usetikzlibrarycalc
                begindocument
                defVecAdd(#1,#2,#3)+(#4,#5,#6)->#7XXXedef#7(#1+1*(#4),#2+1*(#5),#3+(#6))
                tikzsettangent plane/.style args=at #1 with vectors #2 and #3%
                /utils/exec=edeftempnoexpandVecAdd#1+#2->noexpandmyvecOne XXX%
                temp%
                edeftempnoexpandVecAddmyvecOne+#3->noexpandmyvecTwo XXX%
                temp
                edeftempnoexpandVecAdd#1+#3->noexpandmyvecThree XXX%
                temp,
                insert path=#1 -- myvecOne -- myvecTwo -- myvecThree -- cycle
                foreach Angle in 90,85,...,0
                begintikzpicture
                beginaxis[hide axis,
                axis equal,
                width=10cm,
                height=10cm,
                axis lines = center,
                xlabel = $x$,
                ylabel = $y$,
                zlabel = $z$,
                ticks=none,
                enlargelimits=0.3,
                view/h=45,
                scale uniformly strategy=units only,
                ]
                addplot3[%
                opacity = 0.5,
                surf,
                z buffer = sort,
                samples = 21,
                variable = u,
                variable y = v,
                domain = 0:180,
                y domain = 0:360,
                ]
                (cos(u)*sin(v), sin(u)*sin(v), cos(v));
                draw[overlay,fill=white,fill opacity=0.4,
                tangent plane=at (cos(Angle)-0.5*sin(Angle),-0.5,sin(Angle)) with
                vectors (sin(Angle),0,-cos(Angle)) and (0,1,0)];
                endaxis
                endtikzpicture
                enddocument


                enter image description here






                share|improve this answer















                This is a style that inserts a plane at a point that is spanned by two vectors.



                documentclass[tikz,border=3.14mm]standalone
                usepackagepgfplots
                pgfplotssetcompat=1.16
                usetikzlibrarycalc
                begindocument
                defVecAdd(#1,#2,#3)+(#4,#5,#6)->#7XXXedef#7(#1+1*(#4),#2+1*(#5),#3+(#6))
                begintikzpicture[tangent plane/.style args=at #1 with vectors #2 and #3%
                /utils/exec=edeftempnoexpandVecAdd#1+#2->noexpandmyvecOne XXX%
                temp%
                edeftempnoexpandVecAddmyvecOne+#3->noexpandmyvecTwo XXX%
                temp
                edeftempnoexpandVecAdd#1+#3->noexpandmyvecThree XXX%
                temp,
                insert path=#1 -- myvecOne -- myvecTwo -- myvecThree -- cycle]
                beginaxis[%
                axis equal,
                width=10cm,
                height=10cm,
                axis lines = center,
                xlabel = $x$,
                ylabel = $y$,
                zlabel = $z$,
                ticks=none,
                enlargelimits=0.3,
                view/h=45,
                scale uniformly strategy=units only,
                ]
                addplot3[%
                opacity = 0.5,
                surf,
                z buffer = sort,
                samples = 21,
                variable = u,
                variable y = v,
                domain = 0:180,
                y domain = 0:360,
                ]
                (cos(u)*sin(v), sin(u)*sin(v), cos(v));
                draw[fill=white,fill opacity=0.4,
                tangent plane=at (-0.5,-0.5,1) with vectors (1,0,0) and (0,1,0)];
                endaxis
                endtikzpicture
                enddocument


                enter image description here



                The mandatory animation:



                documentclass[tikz,border=3.14mm]standalone
                usepackagepgfplots
                pgfplotssetcompat=1.16
                usetikzlibrarycalc
                begindocument
                defVecAdd(#1,#2,#3)+(#4,#5,#6)->#7XXXedef#7(#1+1*(#4),#2+1*(#5),#3+(#6))
                tikzsettangent plane/.style args=at #1 with vectors #2 and #3%
                /utils/exec=edeftempnoexpandVecAdd#1+#2->noexpandmyvecOne XXX%
                temp%
                edeftempnoexpandVecAddmyvecOne+#3->noexpandmyvecTwo XXX%
                temp
                edeftempnoexpandVecAdd#1+#3->noexpandmyvecThree XXX%
                temp,
                insert path=#1 -- myvecOne -- myvecTwo -- myvecThree -- cycle
                foreach Angle in 90,85,...,0
                begintikzpicture
                beginaxis[hide axis,
                axis equal,
                width=10cm,
                height=10cm,
                axis lines = center,
                xlabel = $x$,
                ylabel = $y$,
                zlabel = $z$,
                ticks=none,
                enlargelimits=0.3,
                view/h=45,
                scale uniformly strategy=units only,
                ]
                addplot3[%
                opacity = 0.5,
                surf,
                z buffer = sort,
                samples = 21,
                variable = u,
                variable y = v,
                domain = 0:180,
                y domain = 0:360,
                ]
                (cos(u)*sin(v), sin(u)*sin(v), cos(v));
                draw[overlay,fill=white,fill opacity=0.4,
                tangent plane=at (cos(Angle)-0.5*sin(Angle),-0.5,sin(Angle)) with
                vectors (sin(Angle),0,-cos(Angle)) and (0,1,0)];
                endaxis
                endtikzpicture
                enddocument


                enter image description here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 2 hours ago

























                answered 3 hours ago









                marmotmarmot

                129k6162309




                129k6162309




















                    beflyguy is a new contributor. Be nice, and check out our Code of Conduct.









                    draft saved

                    draft discarded


















                    beflyguy is a new contributor. Be nice, and check out our Code of Conduct.












                    beflyguy is a new contributor. Be nice, and check out our Code of Conduct.











                    beflyguy is a new contributor. Be nice, and check out our Code of Conduct.














                    Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f491835%2ftangent-plane-on-a-surface%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Log på Navigationsmenu

                    Wonderful Copenhagen (sang) Eksterne henvisninger | NavigationsmenurSide på frankloesser.comWonderful Copenhagen

                    Detroit Tigers Spis treści Historia | Skład zespołu | Sukcesy | Członkowie Baseball Hall of Fame | Zastrzeżone numery | Przypisy | Menu nawigacyjneEncyclopedia of Detroit - Detroit TigersTigers Stadium, Detroit, MITigers Timeline 1900sDetroit Tigers Team History & EncyclopediaTigers Timeline 1910s1935 World Series1945 World Series1945 World Series1984 World SeriesComerica Park, Detroit, MI2006 World Series2012 World SeriesDetroit Tigers 40-Man RosterDetroit Tigers Coaching StaffTigers Hall of FamersTigers Retired Numberse