Is it possible to draw a 3d plot as line art with tikz?
Is it possible to draw a 3d plot as line art with tikz? For example, Is it possible to draw z=x*exp(-x^2-y^2)
with smooth line art style? Something like the following figure for z=x^3-3x*y^2
.
tikz-pgf pgfplots
add a comment |
Is it possible to draw a 3d plot as line art with tikz? For example, Is it possible to draw z=x*exp(-x^2-y^2)
with smooth line art style? Something like the following figure for z=x^3-3x*y^2
.
tikz-pgf pgfplots
2
This might help to get this started: Simulating hand-drawn lines.
– Peter Grill
Jan 11 at 7:08
@Peter Grill: I do not think that the OP is looking for a line style other than normal smooth curves. I believe the question is about drawing just significant lines of a 3d plot as in the example.
– hpekristiansen
Jan 11 at 9:53
@hpekristiansen: If that is the case then the reference to "line art" style should be removed from the question.
– Peter Grill
Jan 12 at 0:32
Something like this: eclecticcats.wordpress.com/2014/03/25/…
– C.F.G
Jan 13 at 4:49
add a comment |
Is it possible to draw a 3d plot as line art with tikz? For example, Is it possible to draw z=x*exp(-x^2-y^2)
with smooth line art style? Something like the following figure for z=x^3-3x*y^2
.
tikz-pgf pgfplots
Is it possible to draw a 3d plot as line art with tikz? For example, Is it possible to draw z=x*exp(-x^2-y^2)
with smooth line art style? Something like the following figure for z=x^3-3x*y^2
.
tikz-pgf pgfplots
tikz-pgf pgfplots
edited Jan 11 at 8:17
C.F.G
asked Jan 11 at 6:54
C.F.GC.F.G
560312
560312
2
This might help to get this started: Simulating hand-drawn lines.
– Peter Grill
Jan 11 at 7:08
@Peter Grill: I do not think that the OP is looking for a line style other than normal smooth curves. I believe the question is about drawing just significant lines of a 3d plot as in the example.
– hpekristiansen
Jan 11 at 9:53
@hpekristiansen: If that is the case then the reference to "line art" style should be removed from the question.
– Peter Grill
Jan 12 at 0:32
Something like this: eclecticcats.wordpress.com/2014/03/25/…
– C.F.G
Jan 13 at 4:49
add a comment |
2
This might help to get this started: Simulating hand-drawn lines.
– Peter Grill
Jan 11 at 7:08
@Peter Grill: I do not think that the OP is looking for a line style other than normal smooth curves. I believe the question is about drawing just significant lines of a 3d plot as in the example.
– hpekristiansen
Jan 11 at 9:53
@hpekristiansen: If that is the case then the reference to "line art" style should be removed from the question.
– Peter Grill
Jan 12 at 0:32
Something like this: eclecticcats.wordpress.com/2014/03/25/…
– C.F.G
Jan 13 at 4:49
2
2
This might help to get this started: Simulating hand-drawn lines.
– Peter Grill
Jan 11 at 7:08
This might help to get this started: Simulating hand-drawn lines.
– Peter Grill
Jan 11 at 7:08
@Peter Grill: I do not think that the OP is looking for a line style other than normal smooth curves. I believe the question is about drawing just significant lines of a 3d plot as in the example.
– hpekristiansen
Jan 11 at 9:53
@Peter Grill: I do not think that the OP is looking for a line style other than normal smooth curves. I believe the question is about drawing just significant lines of a 3d plot as in the example.
– hpekristiansen
Jan 11 at 9:53
@hpekristiansen: If that is the case then the reference to "line art" style should be removed from the question.
– Peter Grill
Jan 12 at 0:32
@hpekristiansen: If that is the case then the reference to "line art" style should be removed from the question.
– Peter Grill
Jan 12 at 0:32
Something like this: eclecticcats.wordpress.com/2014/03/25/…
– C.F.G
Jan 13 at 4:49
Something like this: eclecticcats.wordpress.com/2014/03/25/…
– C.F.G
Jan 13 at 4:49
add a comment |
1 Answer
1
active
oldest
votes
Asymptote is probably the better tool for serious 3d functions:
import graph3;
size(200,0);
currentprojection=perspective(10,8,9);
real f(pair z) {return z.x*exp(-(z.x**2)-(z.y**2));}
surface s=surface(f,(-1.4,-1.4),(1.4,1.4),nx=20,Spline);
draw(s,lightgray,meshpen=black+thick(),nolight,render(merge=true));
If you have a full TeX installation, then it will be already installed. texdoc asy
tells you how to run it, and then if you do asy
to bring up the interactive prompt, typing help
will open the manual. It's very powerful but there is a lot to learn.
As the relevant help page will tell you, asy
can be integrated into your LaTeX source file.
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%2f469653%2fis-it-possible-to-draw-a-3d-plot-as-line-art-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
Asymptote is probably the better tool for serious 3d functions:
import graph3;
size(200,0);
currentprojection=perspective(10,8,9);
real f(pair z) {return z.x*exp(-(z.x**2)-(z.y**2));}
surface s=surface(f,(-1.4,-1.4),(1.4,1.4),nx=20,Spline);
draw(s,lightgray,meshpen=black+thick(),nolight,render(merge=true));
If you have a full TeX installation, then it will be already installed. texdoc asy
tells you how to run it, and then if you do asy
to bring up the interactive prompt, typing help
will open the manual. It's very powerful but there is a lot to learn.
As the relevant help page will tell you, asy
can be integrated into your LaTeX source file.
add a comment |
Asymptote is probably the better tool for serious 3d functions:
import graph3;
size(200,0);
currentprojection=perspective(10,8,9);
real f(pair z) {return z.x*exp(-(z.x**2)-(z.y**2));}
surface s=surface(f,(-1.4,-1.4),(1.4,1.4),nx=20,Spline);
draw(s,lightgray,meshpen=black+thick(),nolight,render(merge=true));
If you have a full TeX installation, then it will be already installed. texdoc asy
tells you how to run it, and then if you do asy
to bring up the interactive prompt, typing help
will open the manual. It's very powerful but there is a lot to learn.
As the relevant help page will tell you, asy
can be integrated into your LaTeX source file.
add a comment |
Asymptote is probably the better tool for serious 3d functions:
import graph3;
size(200,0);
currentprojection=perspective(10,8,9);
real f(pair z) {return z.x*exp(-(z.x**2)-(z.y**2));}
surface s=surface(f,(-1.4,-1.4),(1.4,1.4),nx=20,Spline);
draw(s,lightgray,meshpen=black+thick(),nolight,render(merge=true));
If you have a full TeX installation, then it will be already installed. texdoc asy
tells you how to run it, and then if you do asy
to bring up the interactive prompt, typing help
will open the manual. It's very powerful but there is a lot to learn.
As the relevant help page will tell you, asy
can be integrated into your LaTeX source file.
Asymptote is probably the better tool for serious 3d functions:
import graph3;
size(200,0);
currentprojection=perspective(10,8,9);
real f(pair z) {return z.x*exp(-(z.x**2)-(z.y**2));}
surface s=surface(f,(-1.4,-1.4),(1.4,1.4),nx=20,Spline);
draw(s,lightgray,meshpen=black+thick(),nolight,render(merge=true));
If you have a full TeX installation, then it will be already installed. texdoc asy
tells you how to run it, and then if you do asy
to bring up the interactive prompt, typing help
will open the manual. It's very powerful but there is a lot to learn.
As the relevant help page will tell you, asy
can be integrated into your LaTeX source file.
answered Jan 11 at 12:18
ThrustonThruston
26k24290
26k24290
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%2f469653%2fis-it-possible-to-draw-a-3d-plot-as-line-art-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
2
This might help to get this started: Simulating hand-drawn lines.
– Peter Grill
Jan 11 at 7:08
@Peter Grill: I do not think that the OP is looking for a line style other than normal smooth curves. I believe the question is about drawing just significant lines of a 3d plot as in the example.
– hpekristiansen
Jan 11 at 9:53
@hpekristiansen: If that is the case then the reference to "line art" style should be removed from the question.
– Peter Grill
Jan 12 at 0:32
Something like this: eclecticcats.wordpress.com/2014/03/25/…
– C.F.G
Jan 13 at 4:49