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

How can draw it with TikZ?
tikz-pgf tikz-3dplot
add a comment |
I drew the 3D curve z=xysin(x^2+y^2) with Mathematica as following

How can draw it with TikZ?
tikz-pgf tikz-3dplot
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
add a comment |
I drew the 3D curve z=xysin(x^2+y^2) with Mathematica as following

How can draw it with TikZ?
tikz-pgf tikz-3dplot
I drew the 3D curve z=xysin(x^2+y^2) with Mathematica as following

How can draw it with TikZ?
tikz-pgf tikz-3dplot
tikz-pgf tikz-3dplot
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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}

add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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}

add a comment |
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}

add a comment |
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}

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}

edited Apr 13 '17 at 13:16
Troy
11k62368
11k62368
answered Apr 13 '17 at 8:07
AboAmmarAboAmmar
34.4k32985
34.4k32985
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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