Drawing the 3D curve $z=xysin(x^2+y^2)$ with Tikz












0















I drew the 3D curve z=xysin(x^2+y^2) with Mathematica as following



enter image description here



How can draw it with TikZ?










share|improve this question




















  • 4





    Welcome to TeX.SX. Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document.

    – Martin Schröder
    Apr 13 '17 at 7:56






  • 1





    Have a look at pgfplots.net/tikz/examples/surface-plot-math and pgfplots.net/tikz/examples/tufte-3d-axes as starters.

    – TeXnician
    Apr 13 '17 at 8:00
















0















I drew the 3D curve z=xysin(x^2+y^2) with Mathematica as following



enter image description here



How can draw it with TikZ?










share|improve this question




















  • 4





    Welcome to TeX.SX. Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document.

    – Martin Schröder
    Apr 13 '17 at 7:56






  • 1





    Have a look at pgfplots.net/tikz/examples/surface-plot-math and pgfplots.net/tikz/examples/tufte-3d-axes as starters.

    – TeXnician
    Apr 13 '17 at 8:00














0












0








0


1






I drew the 3D curve z=xysin(x^2+y^2) with Mathematica as following



enter image description here



How can draw it with TikZ?










share|improve this question
















I drew the 3D curve z=xysin(x^2+y^2) with Mathematica as following



enter image description here



How can draw it with TikZ?







tikz-pgf tikz-3dplot






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 hours ago









CampanIgnis

2,8692932




2,8692932










asked Apr 13 '17 at 7:48









NosratiNosrati

1677




1677








  • 4





    Welcome to TeX.SX. Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document.

    – Martin Schröder
    Apr 13 '17 at 7:56






  • 1





    Have a look at pgfplots.net/tikz/examples/surface-plot-math and pgfplots.net/tikz/examples/tufte-3d-axes as starters.

    – TeXnician
    Apr 13 '17 at 8:00














  • 4





    Welcome to TeX.SX. Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document.

    – Martin Schröder
    Apr 13 '17 at 7:56






  • 1





    Have a look at pgfplots.net/tikz/examples/surface-plot-math and pgfplots.net/tikz/examples/tufte-3d-axes as starters.

    – TeXnician
    Apr 13 '17 at 8:00








4




4





Welcome to TeX.SX. Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document.

– Martin Schröder
Apr 13 '17 at 7:56





Welcome to TeX.SX. Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document.

– Martin Schröder
Apr 13 '17 at 7:56




1




1





Have a look at pgfplots.net/tikz/examples/surface-plot-math and pgfplots.net/tikz/examples/tufte-3d-axes as starters.

– TeXnician
Apr 13 '17 at 8:00





Have a look at pgfplots.net/tikz/examples/surface-plot-math and pgfplots.net/tikz/examples/tufte-3d-axes as starters.

– TeXnician
Apr 13 '17 at 8:00










1 Answer
1






active

oldest

votes


















10














documentclass[10pt,a4paper]{article}
usepackage{pgfplots}
pgfplotsset{compat=1.3}
begin{document}

begin{tikzpicture}
begin{axis}[
%hide axis,
xlabel=$x$,ylabel=$y$,
mesh/interior colormap name=hot,
colormap/blackwhite,
]
addplot3[domain=-3:3,surf,samples=41]
{x*y*sin(deg(x^2+y^2))};
end{axis}
end{tikzpicture}

end{document}


plot






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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f364542%2fdrawing-the-3d-curve-z-xy-sinx2y2-with-tikz%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









    10














    documentclass[10pt,a4paper]{article}
    usepackage{pgfplots}
    pgfplotsset{compat=1.3}
    begin{document}

    begin{tikzpicture}
    begin{axis}[
    %hide axis,
    xlabel=$x$,ylabel=$y$,
    mesh/interior colormap name=hot,
    colormap/blackwhite,
    ]
    addplot3[domain=-3:3,surf,samples=41]
    {x*y*sin(deg(x^2+y^2))};
    end{axis}
    end{tikzpicture}

    end{document}


    plot






    share|improve this answer






























      10














      documentclass[10pt,a4paper]{article}
      usepackage{pgfplots}
      pgfplotsset{compat=1.3}
      begin{document}

      begin{tikzpicture}
      begin{axis}[
      %hide axis,
      xlabel=$x$,ylabel=$y$,
      mesh/interior colormap name=hot,
      colormap/blackwhite,
      ]
      addplot3[domain=-3:3,surf,samples=41]
      {x*y*sin(deg(x^2+y^2))};
      end{axis}
      end{tikzpicture}

      end{document}


      plot






      share|improve this answer




























        10












        10








        10







        documentclass[10pt,a4paper]{article}
        usepackage{pgfplots}
        pgfplotsset{compat=1.3}
        begin{document}

        begin{tikzpicture}
        begin{axis}[
        %hide axis,
        xlabel=$x$,ylabel=$y$,
        mesh/interior colormap name=hot,
        colormap/blackwhite,
        ]
        addplot3[domain=-3:3,surf,samples=41]
        {x*y*sin(deg(x^2+y^2))};
        end{axis}
        end{tikzpicture}

        end{document}


        plot






        share|improve this answer















        documentclass[10pt,a4paper]{article}
        usepackage{pgfplots}
        pgfplotsset{compat=1.3}
        begin{document}

        begin{tikzpicture}
        begin{axis}[
        %hide axis,
        xlabel=$x$,ylabel=$y$,
        mesh/interior colormap name=hot,
        colormap/blackwhite,
        ]
        addplot3[domain=-3:3,surf,samples=41]
        {x*y*sin(deg(x^2+y^2))};
        end{axis}
        end{tikzpicture}

        end{document}


        plot







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 13 '17 at 13:16









        Troy

        11k62368




        11k62368










        answered Apr 13 '17 at 8:07









        AboAmmarAboAmmar

        34.4k32985




        34.4k32985






























            draft saved

            draft discarded




















































            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%2f364542%2fdrawing-the-3d-curve-z-xy-sinx2y2-with-tikz%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

            Lallio

            Futebolista

            Jornalista