Restricting Domain of 3D Plotplotting two time series with boundsSplitting y domain in 3D pgfplotsHow do i...
Why did Luke use his left hand to shoot?
Is there a way to not have to poll the UART of an AVR?
When obtaining gender reassignment/plastic surgery overseas, is an emergency travel document required to return home?
Categorical Unification of Jordan Holder Theorems
Crack the bank account's password!
Why is the "Domain users" group missing from this PowerShell AD query?
Are the positive and negative planes inner or outer planes in the Great Wheel cosmology model?
Possible issue with my W4 and tax return
Why avoid shared user accounts?
Why didn't Tom Riddle take the presence of Fawkes and the Sorting Hat as more of a threat?
Does diversity provide anything that meritocracy does not?
A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?
Stuck on a Geometry Puzzle
Does the ditching switch allow an A320 to float indefinitely?
Microtypography protrusion with Polish quotation marks
Why do neural networks need so many training examples to perform?
Does an Eldritch Knight's Weapon Bond protect him from losing his weapon to a Telekinesis spell?
If angels and devils are the same species, why would their mortal offspring appear physically different?
How vim overwrites readonly mode?
Non-Cancer terminal illness that can affect young (age 10-13) girls?
How to politely refuse in-office gym instructor for steroids and protein
How can I play a serial killer in a party of good PCs?
Translation needed for 130 years old church document
Current across a wire with zero potential difference
Restricting Domain of 3D Plot
plotting two time series with boundsSplitting y domain in 3D pgfplotsHow do i get the x axis on top but keep a line on the bottom3d plot of a surface with nonrectangular domainRestricting “every nth point” to a domainrestricting variables in pgf plotsrestrict y to domain “cuts” up plottikz 3d graph with circular domainChanging the axis xmax/domain in a step plotPGFplots: Plot end arrows without specifying domain
I have this 3D plot:
I would like to plot the function only over the region over the darker half of the bottom (the part closer to us).
Here is a MWE:
PassOptionsToPackage{usenames,dvipsnames,table,x11names}{xcolor}
documentclass[a4paper, 12pt]{article}
usepackage{pgfplots}
usepgfplotslibrary{colormaps,fillbetween}
begin{document}
begin{tikzpicture}
begin{axis}[
zmax=15,
zmin=0,
view = {45}{45},
grid=minor,
colormap={mycol}{color=(Tan), color=(Tan)},
xlabel = $s$,
ylabel = $h$,
zlabel = {$f(s,h)$},
ticks = none,
]
addplot3[
surf,
samples=30,
domain=0:1.5,
%y domain = 0:x, %does not work
opacity=0.5,
]
{12*exp(-(4*x+3*y))};
%highlighting dark part of bottom
filldraw[Tan, fill = Tan, opacity = 0, fill opacity = 0.5] (0,0,0) -- (1.5,1.5,0) -- (1.5,0,0) -- (0,0,0);
%line across bottom
draw[RawSienna, thick, opacity = 0.75] (0,0,0) -- (1.5,1.5,0);
%line going across graph
addplot3 [domain=0:1.5, RawSienna, thick, samples=30, samples y=0, opacity = 0.75] (x,x,{12*exp(-(7*x))});
end{axis}
end{tikzpicture}
end{document}
I tried to use y domain = 0:x
, but that does not even compile (it takes too long and then craps out). Any suggestions?
tikz-pgf pgfplots 3d
add a comment |
I have this 3D plot:
I would like to plot the function only over the region over the darker half of the bottom (the part closer to us).
Here is a MWE:
PassOptionsToPackage{usenames,dvipsnames,table,x11names}{xcolor}
documentclass[a4paper, 12pt]{article}
usepackage{pgfplots}
usepgfplotslibrary{colormaps,fillbetween}
begin{document}
begin{tikzpicture}
begin{axis}[
zmax=15,
zmin=0,
view = {45}{45},
grid=minor,
colormap={mycol}{color=(Tan), color=(Tan)},
xlabel = $s$,
ylabel = $h$,
zlabel = {$f(s,h)$},
ticks = none,
]
addplot3[
surf,
samples=30,
domain=0:1.5,
%y domain = 0:x, %does not work
opacity=0.5,
]
{12*exp(-(4*x+3*y))};
%highlighting dark part of bottom
filldraw[Tan, fill = Tan, opacity = 0, fill opacity = 0.5] (0,0,0) -- (1.5,1.5,0) -- (1.5,0,0) -- (0,0,0);
%line across bottom
draw[RawSienna, thick, opacity = 0.75] (0,0,0) -- (1.5,1.5,0);
%line going across graph
addplot3 [domain=0:1.5, RawSienna, thick, samples=30, samples y=0, opacity = 0.75] (x,x,{12*exp(-(7*x))});
end{axis}
end{tikzpicture}
end{document}
I tried to use y domain = 0:x
, but that does not even compile (it takes too long and then craps out). Any suggestions?
tikz-pgf pgfplots 3d
add a comment |
I have this 3D plot:
I would like to plot the function only over the region over the darker half of the bottom (the part closer to us).
Here is a MWE:
PassOptionsToPackage{usenames,dvipsnames,table,x11names}{xcolor}
documentclass[a4paper, 12pt]{article}
usepackage{pgfplots}
usepgfplotslibrary{colormaps,fillbetween}
begin{document}
begin{tikzpicture}
begin{axis}[
zmax=15,
zmin=0,
view = {45}{45},
grid=minor,
colormap={mycol}{color=(Tan), color=(Tan)},
xlabel = $s$,
ylabel = $h$,
zlabel = {$f(s,h)$},
ticks = none,
]
addplot3[
surf,
samples=30,
domain=0:1.5,
%y domain = 0:x, %does not work
opacity=0.5,
]
{12*exp(-(4*x+3*y))};
%highlighting dark part of bottom
filldraw[Tan, fill = Tan, opacity = 0, fill opacity = 0.5] (0,0,0) -- (1.5,1.5,0) -- (1.5,0,0) -- (0,0,0);
%line across bottom
draw[RawSienna, thick, opacity = 0.75] (0,0,0) -- (1.5,1.5,0);
%line going across graph
addplot3 [domain=0:1.5, RawSienna, thick, samples=30, samples y=0, opacity = 0.75] (x,x,{12*exp(-(7*x))});
end{axis}
end{tikzpicture}
end{document}
I tried to use y domain = 0:x
, but that does not even compile (it takes too long and then craps out). Any suggestions?
tikz-pgf pgfplots 3d
I have this 3D plot:
I would like to plot the function only over the region over the darker half of the bottom (the part closer to us).
Here is a MWE:
PassOptionsToPackage{usenames,dvipsnames,table,x11names}{xcolor}
documentclass[a4paper, 12pt]{article}
usepackage{pgfplots}
usepgfplotslibrary{colormaps,fillbetween}
begin{document}
begin{tikzpicture}
begin{axis}[
zmax=15,
zmin=0,
view = {45}{45},
grid=minor,
colormap={mycol}{color=(Tan), color=(Tan)},
xlabel = $s$,
ylabel = $h$,
zlabel = {$f(s,h)$},
ticks = none,
]
addplot3[
surf,
samples=30,
domain=0:1.5,
%y domain = 0:x, %does not work
opacity=0.5,
]
{12*exp(-(4*x+3*y))};
%highlighting dark part of bottom
filldraw[Tan, fill = Tan, opacity = 0, fill opacity = 0.5] (0,0,0) -- (1.5,1.5,0) -- (1.5,0,0) -- (0,0,0);
%line across bottom
draw[RawSienna, thick, opacity = 0.75] (0,0,0) -- (1.5,1.5,0);
%line going across graph
addplot3 [domain=0:1.5, RawSienna, thick, samples=30, samples y=0, opacity = 0.75] (x,x,{12*exp(-(7*x))});
end{axis}
end{tikzpicture}
end{document}
I tried to use y domain = 0:x
, but that does not even compile (it takes too long and then craps out). Any suggestions?
tikz-pgf pgfplots 3d
tikz-pgf pgfplots 3d
asked 2 mins ago
Aiden KennyAiden Kenny
3947
3947
add a comment |
add a comment |
0
active
oldest
votes
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%2f476729%2frestricting-domain-of-3d-plot%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f476729%2frestricting-domain-of-3d-plot%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