Projecting contour on the floor in a 3d plotplotting two time series with boundsGrouped bar chartHow do i get...

1970s scifi/horror novel where protagonist is used by a crablike creature to feed its larvae, goes mad, and is defeated by retraumatising him

Is there a way to find out the age of climbing ropes?

Is divide-by-zero a security vulnerability?

How to mitigate "bandwagon attacking" from players?

Split a number into equal parts given the number of parts

What is the difference between 主菜 and 主食?

Misplaced tyre lever - alternatives?

“I had a flat in the centre of town, but I didn’t like living there, so …”

Should we avoid writing fiction about historical events without extensive research?

How to fix my table, centering of columns

Why did the Cray-1 have 8 parity bits per word?

How can I be pwned if I'm not registered on the compromised site?

Create chunks from an array

Why would the IRS ask for birth certificates or even audit a small tax return?

What is better: yes / no radio, or simple checkbox?

Is there a full canon version of Tyrion's jackass/honeycomb joke?

How does signal strength relate to bandwidth?

Every subset equal to original set?

Are small insurances worth it

Meaning of word ягоза

I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?

PTIJ: What’s wrong with eating meat and couscous?

Relationship between the symmetry number of a molecule as used in rotational spectroscopy and point group

Formatting a table to look nice



Projecting contour on the floor in a 3d plot


plotting two time series with boundsGrouped bar chartHow do i get the x axis on top but keep a line on the bottomPolar Plots - layout and extraction of crucial parametersHow to prevent rounded and duplicated tick labels in pgfplots with fixed precision?How to hide empty (value 0) ybars with pgfplots?Show mark labels near marks and not centered in ybar interaval graphpgfplots: percentage in matrix plotCenter the axes in the coordinate originFilled contour plot from data set













1















The contour is drawn on the top surface, I'm trying to plot the contour on the floor (A-B).enter image description here



documentclass{standalone}

usepackage{pgfplots}
pgfplotsset{width=10cm, compat=1.9}

begin{document}

begin{tikzpicture} begin{axis}
[
xlabel=$A$,
ylabel=$B$,
zlabel=$f_0$,
grid=major,
]


addplot3[
surf,
opacity=0.4,
] {4*x + 5*y};

addplot3 [
contour gnuplot, samples=21]
{4*x + 5*y};

end{axis} end{tikzpicture}

end{document}









share|improve this question























  • addplot3 [ contour gnuplot, samples=21,z filter/.code={defpgfmathresult{-49.9}}] {4*x + 5*y}; ? (Or any value you want instead of -49.9.)

    – marmot
    yesterday











  • I tried that, this changes the contour height, but it's not on the floor perfectly.

    – Taha Magdy
    yesterday


















1















The contour is drawn on the top surface, I'm trying to plot the contour on the floor (A-B).enter image description here



documentclass{standalone}

usepackage{pgfplots}
pgfplotsset{width=10cm, compat=1.9}

begin{document}

begin{tikzpicture} begin{axis}
[
xlabel=$A$,
ylabel=$B$,
zlabel=$f_0$,
grid=major,
]


addplot3[
surf,
opacity=0.4,
] {4*x + 5*y};

addplot3 [
contour gnuplot, samples=21]
{4*x + 5*y};

end{axis} end{tikzpicture}

end{document}









share|improve this question























  • addplot3 [ contour gnuplot, samples=21,z filter/.code={defpgfmathresult{-49.9}}] {4*x + 5*y}; ? (Or any value you want instead of -49.9.)

    – marmot
    yesterday











  • I tried that, this changes the contour height, but it's not on the floor perfectly.

    – Taha Magdy
    yesterday
















1












1








1








The contour is drawn on the top surface, I'm trying to plot the contour on the floor (A-B).enter image description here



documentclass{standalone}

usepackage{pgfplots}
pgfplotsset{width=10cm, compat=1.9}

begin{document}

begin{tikzpicture} begin{axis}
[
xlabel=$A$,
ylabel=$B$,
zlabel=$f_0$,
grid=major,
]


addplot3[
surf,
opacity=0.4,
] {4*x + 5*y};

addplot3 [
contour gnuplot, samples=21]
{4*x + 5*y};

end{axis} end{tikzpicture}

end{document}









share|improve this question














The contour is drawn on the top surface, I'm trying to plot the contour on the floor (A-B).enter image description here



documentclass{standalone}

usepackage{pgfplots}
pgfplotsset{width=10cm, compat=1.9}

begin{document}

begin{tikzpicture} begin{axis}
[
xlabel=$A$,
ylabel=$B$,
zlabel=$f_0$,
grid=major,
]


addplot3[
surf,
opacity=0.4,
] {4*x + 5*y};

addplot3 [
contour gnuplot, samples=21]
{4*x + 5*y};

end{axis} end{tikzpicture}

end{document}






pgfplots 3d contour






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









Taha MagdyTaha Magdy

1018




1018













  • addplot3 [ contour gnuplot, samples=21,z filter/.code={defpgfmathresult{-49.9}}] {4*x + 5*y}; ? (Or any value you want instead of -49.9.)

    – marmot
    yesterday











  • I tried that, this changes the contour height, but it's not on the floor perfectly.

    – Taha Magdy
    yesterday





















  • addplot3 [ contour gnuplot, samples=21,z filter/.code={defpgfmathresult{-49.9}}] {4*x + 5*y}; ? (Or any value you want instead of -49.9.)

    – marmot
    yesterday











  • I tried that, this changes the contour height, but it's not on the floor perfectly.

    – Taha Magdy
    yesterday



















addplot3 [ contour gnuplot, samples=21,z filter/.code={defpgfmathresult{-49.9}}] {4*x + 5*y}; ? (Or any value you want instead of -49.9.)

– marmot
yesterday





addplot3 [ contour gnuplot, samples=21,z filter/.code={defpgfmathresult{-49.9}}] {4*x + 5*y}; ? (Or any value you want instead of -49.9.)

– marmot
yesterday













I tried that, this changes the contour height, but it's not on the floor perfectly.

– Taha Magdy
yesterday







I tried that, this changes the contour height, but it's not on the floor perfectly.

– Taha Magdy
yesterday












1 Answer
1






active

oldest

votes


















1














documentclass[tikz,border=3.14mm]{standalone}
usepackage{pgfplots}
pgfplotsset{width=10cm, compat=1.9}
begin{document}
begin{tikzpicture}
begin{axis}[
xlabel=$A$,
ylabel=$B$,
zlabel=$f_0$,
grid=major,zmax=55,zmin=-55
]


addplot3[
surf,
opacity=0.4,
] {4*x + 5*y};

addplot3 [
contour gnuplot, samples=21,z filter/.code={defpgfmathresult{-54.9}}]
{4*x + 5*y};

end{axis}
end{tikzpicture}

end{document}


enter image description here






share|improve this answer
























  • Could you explain please, how to make the contour on the floor like that? is it just trying numbers, is there a concrete way?

    – Taha Magdy
    yesterday






  • 1





    @TahaMagdy I just set zmin to -55 and added the contour a tiny bit above (such that it does not clipped away).

    – marmot
    yesterday











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%2f477911%2fprojecting-contour-on-the-floor-in-a-3d-plot%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









1














documentclass[tikz,border=3.14mm]{standalone}
usepackage{pgfplots}
pgfplotsset{width=10cm, compat=1.9}
begin{document}
begin{tikzpicture}
begin{axis}[
xlabel=$A$,
ylabel=$B$,
zlabel=$f_0$,
grid=major,zmax=55,zmin=-55
]


addplot3[
surf,
opacity=0.4,
] {4*x + 5*y};

addplot3 [
contour gnuplot, samples=21,z filter/.code={defpgfmathresult{-54.9}}]
{4*x + 5*y};

end{axis}
end{tikzpicture}

end{document}


enter image description here






share|improve this answer
























  • Could you explain please, how to make the contour on the floor like that? is it just trying numbers, is there a concrete way?

    – Taha Magdy
    yesterday






  • 1





    @TahaMagdy I just set zmin to -55 and added the contour a tiny bit above (such that it does not clipped away).

    – marmot
    yesterday
















1














documentclass[tikz,border=3.14mm]{standalone}
usepackage{pgfplots}
pgfplotsset{width=10cm, compat=1.9}
begin{document}
begin{tikzpicture}
begin{axis}[
xlabel=$A$,
ylabel=$B$,
zlabel=$f_0$,
grid=major,zmax=55,zmin=-55
]


addplot3[
surf,
opacity=0.4,
] {4*x + 5*y};

addplot3 [
contour gnuplot, samples=21,z filter/.code={defpgfmathresult{-54.9}}]
{4*x + 5*y};

end{axis}
end{tikzpicture}

end{document}


enter image description here






share|improve this answer
























  • Could you explain please, how to make the contour on the floor like that? is it just trying numbers, is there a concrete way?

    – Taha Magdy
    yesterday






  • 1





    @TahaMagdy I just set zmin to -55 and added the contour a tiny bit above (such that it does not clipped away).

    – marmot
    yesterday














1












1








1







documentclass[tikz,border=3.14mm]{standalone}
usepackage{pgfplots}
pgfplotsset{width=10cm, compat=1.9}
begin{document}
begin{tikzpicture}
begin{axis}[
xlabel=$A$,
ylabel=$B$,
zlabel=$f_0$,
grid=major,zmax=55,zmin=-55
]


addplot3[
surf,
opacity=0.4,
] {4*x + 5*y};

addplot3 [
contour gnuplot, samples=21,z filter/.code={defpgfmathresult{-54.9}}]
{4*x + 5*y};

end{axis}
end{tikzpicture}

end{document}


enter image description here






share|improve this answer













documentclass[tikz,border=3.14mm]{standalone}
usepackage{pgfplots}
pgfplotsset{width=10cm, compat=1.9}
begin{document}
begin{tikzpicture}
begin{axis}[
xlabel=$A$,
ylabel=$B$,
zlabel=$f_0$,
grid=major,zmax=55,zmin=-55
]


addplot3[
surf,
opacity=0.4,
] {4*x + 5*y};

addplot3 [
contour gnuplot, samples=21,z filter/.code={defpgfmathresult{-54.9}}]
{4*x + 5*y};

end{axis}
end{tikzpicture}

end{document}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered yesterday









marmotmarmot

106k4128242




106k4128242













  • Could you explain please, how to make the contour on the floor like that? is it just trying numbers, is there a concrete way?

    – Taha Magdy
    yesterday






  • 1





    @TahaMagdy I just set zmin to -55 and added the contour a tiny bit above (such that it does not clipped away).

    – marmot
    yesterday



















  • Could you explain please, how to make the contour on the floor like that? is it just trying numbers, is there a concrete way?

    – Taha Magdy
    yesterday






  • 1





    @TahaMagdy I just set zmin to -55 and added the contour a tiny bit above (such that it does not clipped away).

    – marmot
    yesterday

















Could you explain please, how to make the contour on the floor like that? is it just trying numbers, is there a concrete way?

– Taha Magdy
yesterday





Could you explain please, how to make the contour on the floor like that? is it just trying numbers, is there a concrete way?

– Taha Magdy
yesterday




1




1





@TahaMagdy I just set zmin to -55 and added the contour a tiny bit above (such that it does not clipped away).

– marmot
yesterday





@TahaMagdy I just set zmin to -55 and added the contour a tiny bit above (such that it does not clipped away).

– marmot
yesterday


















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%2f477911%2fprojecting-contour-on-the-floor-in-a-3d-plot%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

Installing LyX: “No textclass is found.”LyX installation error- text class not found- 'Reconfigure' or...

(1602) Indiana Índice Designación y nombre Características orbitales Véase...

Universidad Autónoma de Occidente Índice Historia Campus Facultades Programas Académicos Medios de...