A diagram about partial derivatives of f(x,y)How can I draw a wave diagram in Tikz/PSTricksPartial triangular arrows with TikZ/PGFTikz diagram: subnodestikz stacked disks 3DCreating this image in TiKZHow to draw the following diagram using tikz-cd?Drawing Color Diagram with TikzTikz Venn diagram - ellipse styleHow to draw horizontal diagram flowHow can one go about drawing a sphere with a hole using pgfplots or TikZ?
Giant Toughroad SLR 2 for 200 miles in two days, will it make it?
Modern Day Chaucer
What to do when my ideas aren't chosen, when I strongly disagree with the chosen solution?
Simulating a probability of 1 of 2^N with less than N random bits
Can a Gentile theist be saved?
Can somebody explain Brexit in a few child-proof sentences?
node command while defining a coordinate in TikZ
The One-Electron Universe postulate is true - what simple change can I make to change the whole universe?
What was required to accept "troll"?
Greatest common substring
Organic chemistry Iodoform Reaction
Is there a problem with hiding "forgot password" until it's needed?
How can I raise concerns with a new DM about XP splitting?
The most efficient algorithm to find all possible integer pairs which sum to a given integer
Is infinity mathematically observable?
A social experiment. What is the worst that can happen?
Calculating the number of days between 2 dates in Excel
A known event to a history junkie
What is the term when two people sing in harmony, but they aren't singing the same notes?
Indicating multiple different modes of speech (fantasy language or telepathy)
In Star Trek IV, why did the Bounty go back to a time when whales were already rare?
Adding empty element to declared container without declaring type of element
Did US corporations pay demonstrators in the German demonstrations against article 13?
Why are on-board computers allowed to change controls without notifying the pilots?
A diagram about partial derivatives of f(x,y)
How can I draw a wave diagram in Tikz/PSTricksPartial triangular arrows with TikZ/PGFTikz diagram: subnodestikz stacked disks 3DCreating this image in TiKZHow to draw the following diagram using tikz-cd?Drawing Color Diagram with TikzTikz Venn diagram - ellipse styleHow to draw horizontal diagram flowHow can one go about drawing a sphere with a hole using pgfplots or TikZ?
How can I draw this image using TikZ?

tikz-pgf color 3d
add a comment |
How can I draw this image using TikZ?

tikz-pgf color 3d
6
Welcome to TeX.SE! Can you please show us the code you have tried so far?
– Kurt
Mar 16 at 17:17
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.
– Stefan Pinnow
Mar 16 at 17:55
add a comment |
How can I draw this image using TikZ?

tikz-pgf color 3d
How can I draw this image using TikZ?

tikz-pgf color 3d
tikz-pgf color 3d
edited Mar 16 at 20:06
The Inventor of God
4,99611142
4,99611142
asked Mar 16 at 17:15
IdenticonIdenticon
372
372
6
Welcome to TeX.SE! Can you please show us the code you have tried so far?
– Kurt
Mar 16 at 17:17
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.
– Stefan Pinnow
Mar 16 at 17:55
add a comment |
6
Welcome to TeX.SE! Can you please show us the code you have tried so far?
– Kurt
Mar 16 at 17:17
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.
– Stefan Pinnow
Mar 16 at 17:55
6
6
Welcome to TeX.SE! Can you please show us the code you have tried so far?
– Kurt
Mar 16 at 17:17
Welcome to TeX.SE! Can you please show us the code you have tried so far?
– Kurt
Mar 16 at 17:17
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.
– Stefan Pinnow
Mar 16 at 17:55
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.
– Stefan Pinnow
Mar 16 at 17:55
add a comment |
1 Answer
1
active
oldest
votes
Your question contains four pictures, out of which I am focusing on the lower two. Given that you want to vary the gray level of the plots, I'd like to recommend pgfplots where this kind of shading can be achieved with point meta. Like many other users, I am not too keen on punching in texts from screen shots, so I added some texts but you will find it easy to modify them to your needs.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryshadings
usepackagepgfplots
pgfplotssetcompat=1.16
begindocument
begintikzpicture[bullet/.style=circle,fill,inner sep=1pt,
declare function=f(x,y)=2-0.5*pow(x-1.25,2)-0.5*pow(y-1,2);]
beginaxis[view=15045,colormap/blackwhite,axis lines=middle,%
zmax=2.2,zmin=0,xmin=-0.2,xmax=2.4,ymin=-0.2,ymax=2,%
xlabel=$x$,ylabel=$y$,zlabel=$z$,
xtick=empty,ytick=empty,ztick=empty]
addplot3[surf,shader=interp,domain=0.6:2,domain y=0.5:1.2,opacity=0.7]
f(x,y);
addplot3[thick,domain=0.6:2,samples y=1] (x,1.2,f(x,1.2));
draw[dashed] (1.75,0,0) node[above left]$x_0$ -- (1.75,1.2,0)
node[bullet] (b1) -- (0,1.2,0) node[above right]$y_0$
(1.75,1.2,0) -- (1.75,1.2,f(1.75,1.2))node[bullet] ;
draw (1.75,1.2,f(1.75,1.2)) -- (0.75,1.2,f(1.75,1.2)+0.5)
coordinate[pos=0.5] (aux1);
draw[opacity=0.5,upper left=gray!80!black,upper right=gray!60,
lower left=gray!60,lower right=gray!80!black] (2,1.2,0) -- (0.6,1.2,0)
-- (0.6,1.2,2.2) -- (2,1.2,2.2) -- cycle;
addplot3[surf,shader=interp,domain=0.6:2,domain y=1.2:1.9,opacity=0.7]
f(x,y);
endaxis
draw (aux1) -- ++ (-1,1) node[above,align=center]slope in $x$ direction\
$partial_xf(x,y);
node[anchor=north west] at (b1) $(x_0,y_0)$;
%
beginaxis[xshift=6.5cm,view=15045,colormap/blackwhite,axis lines=middle,%
zmax=2.2,zmin=0,xmin=-0.2,xmax=2.4,ymin=-0.2,ymax=2,%
xlabel=$x$,ylabel=$y$,zlabel=$z$,
xtick=empty,ytick=empty,ztick=empty]
addplot3[surf,shader=interp,domain=0.6:1.75,domain y=0.5:1.9,opacity=0.7]
f(x,y);
addplot3[thick,domain=0.5:1.9,samples y=1] (1.75,x,f(1.75,x));
draw[dashed] (1.75,0,0) node[above left]$x_0$ -- (1.75,1.2,0)
node[bullet] (b2)
-- (0,1.2,0) node[above right]$y_0$
(1.75,1.2,0) -- (1.75,1.2,f(1.75,1.2))node[bullet] ;
draw (1.75,1.2,f(1.75,1.2)) -- (1.75,0.2,f(1.75,1.2)+0.2)
coordinate[pos=0.5] (aux2);
draw[opacity=0.5,upper left=gray!80!black,upper right=gray!60,
lower left=gray!60,lower right=gray!80!black] (1.75,0.5,0) -- (1.75,1.9,0)
-- (1.75,1.9,2.2) -- (1.75,0.5,2.2) -- cycle;
addplot3[surf,shader=interp,domain=1.75:2,domain y=0.5:1.9,opacity=0.7]
f(x,y);
endaxis
draw (aux2) -- ++ (0.3,1) node[above,align=center]_x=x_0,y=y_0$;
node[anchor=north east] at (b2) $(x_0,y_0)$;
endtikzpicture
enddocument

5
excellent (+1).
– ferahfeza
Mar 16 at 19:13
4
Simply awesome.
– Sebastiano
Mar 16 at 20:17
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%2f479814%2fa-diagram-about-partial-derivatives-of-fx-y%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
Your question contains four pictures, out of which I am focusing on the lower two. Given that you want to vary the gray level of the plots, I'd like to recommend pgfplots where this kind of shading can be achieved with point meta. Like many other users, I am not too keen on punching in texts from screen shots, so I added some texts but you will find it easy to modify them to your needs.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryshadings
usepackagepgfplots
pgfplotssetcompat=1.16
begindocument
begintikzpicture[bullet/.style=circle,fill,inner sep=1pt,
declare function=f(x,y)=2-0.5*pow(x-1.25,2)-0.5*pow(y-1,2);]
beginaxis[view=15045,colormap/blackwhite,axis lines=middle,%
zmax=2.2,zmin=0,xmin=-0.2,xmax=2.4,ymin=-0.2,ymax=2,%
xlabel=$x$,ylabel=$y$,zlabel=$z$,
xtick=empty,ytick=empty,ztick=empty]
addplot3[surf,shader=interp,domain=0.6:2,domain y=0.5:1.2,opacity=0.7]
f(x,y);
addplot3[thick,domain=0.6:2,samples y=1] (x,1.2,f(x,1.2));
draw[dashed] (1.75,0,0) node[above left]$x_0$ -- (1.75,1.2,0)
node[bullet] (b1) -- (0,1.2,0) node[above right]$y_0$
(1.75,1.2,0) -- (1.75,1.2,f(1.75,1.2))node[bullet] ;
draw (1.75,1.2,f(1.75,1.2)) -- (0.75,1.2,f(1.75,1.2)+0.5)
coordinate[pos=0.5] (aux1);
draw[opacity=0.5,upper left=gray!80!black,upper right=gray!60,
lower left=gray!60,lower right=gray!80!black] (2,1.2,0) -- (0.6,1.2,0)
-- (0.6,1.2,2.2) -- (2,1.2,2.2) -- cycle;
addplot3[surf,shader=interp,domain=0.6:2,domain y=1.2:1.9,opacity=0.7]
f(x,y);
endaxis
draw (aux1) -- ++ (-1,1) node[above,align=center]slope in $x$ direction\
$partial_xf(x,y);
node[anchor=north west] at (b1) $(x_0,y_0)$;
%
beginaxis[xshift=6.5cm,view=15045,colormap/blackwhite,axis lines=middle,%
zmax=2.2,zmin=0,xmin=-0.2,xmax=2.4,ymin=-0.2,ymax=2,%
xlabel=$x$,ylabel=$y$,zlabel=$z$,
xtick=empty,ytick=empty,ztick=empty]
addplot3[surf,shader=interp,domain=0.6:1.75,domain y=0.5:1.9,opacity=0.7]
f(x,y);
addplot3[thick,domain=0.5:1.9,samples y=1] (1.75,x,f(1.75,x));
draw[dashed] (1.75,0,0) node[above left]$x_0$ -- (1.75,1.2,0)
node[bullet] (b2)
-- (0,1.2,0) node[above right]$y_0$
(1.75,1.2,0) -- (1.75,1.2,f(1.75,1.2))node[bullet] ;
draw (1.75,1.2,f(1.75,1.2)) -- (1.75,0.2,f(1.75,1.2)+0.2)
coordinate[pos=0.5] (aux2);
draw[opacity=0.5,upper left=gray!80!black,upper right=gray!60,
lower left=gray!60,lower right=gray!80!black] (1.75,0.5,0) -- (1.75,1.9,0)
-- (1.75,1.9,2.2) -- (1.75,0.5,2.2) -- cycle;
addplot3[surf,shader=interp,domain=1.75:2,domain y=0.5:1.9,opacity=0.7]
f(x,y);
endaxis
draw (aux2) -- ++ (0.3,1) node[above,align=center]_x=x_0,y=y_0$;
node[anchor=north east] at (b2) $(x_0,y_0)$;
endtikzpicture
enddocument

5
excellent (+1).
– ferahfeza
Mar 16 at 19:13
4
Simply awesome.
– Sebastiano
Mar 16 at 20:17
add a comment |
Your question contains four pictures, out of which I am focusing on the lower two. Given that you want to vary the gray level of the plots, I'd like to recommend pgfplots where this kind of shading can be achieved with point meta. Like many other users, I am not too keen on punching in texts from screen shots, so I added some texts but you will find it easy to modify them to your needs.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryshadings
usepackagepgfplots
pgfplotssetcompat=1.16
begindocument
begintikzpicture[bullet/.style=circle,fill,inner sep=1pt,
declare function=f(x,y)=2-0.5*pow(x-1.25,2)-0.5*pow(y-1,2);]
beginaxis[view=15045,colormap/blackwhite,axis lines=middle,%
zmax=2.2,zmin=0,xmin=-0.2,xmax=2.4,ymin=-0.2,ymax=2,%
xlabel=$x$,ylabel=$y$,zlabel=$z$,
xtick=empty,ytick=empty,ztick=empty]
addplot3[surf,shader=interp,domain=0.6:2,domain y=0.5:1.2,opacity=0.7]
f(x,y);
addplot3[thick,domain=0.6:2,samples y=1] (x,1.2,f(x,1.2));
draw[dashed] (1.75,0,0) node[above left]$x_0$ -- (1.75,1.2,0)
node[bullet] (b1) -- (0,1.2,0) node[above right]$y_0$
(1.75,1.2,0) -- (1.75,1.2,f(1.75,1.2))node[bullet] ;
draw (1.75,1.2,f(1.75,1.2)) -- (0.75,1.2,f(1.75,1.2)+0.5)
coordinate[pos=0.5] (aux1);
draw[opacity=0.5,upper left=gray!80!black,upper right=gray!60,
lower left=gray!60,lower right=gray!80!black] (2,1.2,0) -- (0.6,1.2,0)
-- (0.6,1.2,2.2) -- (2,1.2,2.2) -- cycle;
addplot3[surf,shader=interp,domain=0.6:2,domain y=1.2:1.9,opacity=0.7]
f(x,y);
endaxis
draw (aux1) -- ++ (-1,1) node[above,align=center]slope in $x$ direction\
$partial_xf(x,y);
node[anchor=north west] at (b1) $(x_0,y_0)$;
%
beginaxis[xshift=6.5cm,view=15045,colormap/blackwhite,axis lines=middle,%
zmax=2.2,zmin=0,xmin=-0.2,xmax=2.4,ymin=-0.2,ymax=2,%
xlabel=$x$,ylabel=$y$,zlabel=$z$,
xtick=empty,ytick=empty,ztick=empty]
addplot3[surf,shader=interp,domain=0.6:1.75,domain y=0.5:1.9,opacity=0.7]
f(x,y);
addplot3[thick,domain=0.5:1.9,samples y=1] (1.75,x,f(1.75,x));
draw[dashed] (1.75,0,0) node[above left]$x_0$ -- (1.75,1.2,0)
node[bullet] (b2)
-- (0,1.2,0) node[above right]$y_0$
(1.75,1.2,0) -- (1.75,1.2,f(1.75,1.2))node[bullet] ;
draw (1.75,1.2,f(1.75,1.2)) -- (1.75,0.2,f(1.75,1.2)+0.2)
coordinate[pos=0.5] (aux2);
draw[opacity=0.5,upper left=gray!80!black,upper right=gray!60,
lower left=gray!60,lower right=gray!80!black] (1.75,0.5,0) -- (1.75,1.9,0)
-- (1.75,1.9,2.2) -- (1.75,0.5,2.2) -- cycle;
addplot3[surf,shader=interp,domain=1.75:2,domain y=0.5:1.9,opacity=0.7]
f(x,y);
endaxis
draw (aux2) -- ++ (0.3,1) node[above,align=center]_x=x_0,y=y_0$;
node[anchor=north east] at (b2) $(x_0,y_0)$;
endtikzpicture
enddocument

5
excellent (+1).
– ferahfeza
Mar 16 at 19:13
4
Simply awesome.
– Sebastiano
Mar 16 at 20:17
add a comment |
Your question contains four pictures, out of which I am focusing on the lower two. Given that you want to vary the gray level of the plots, I'd like to recommend pgfplots where this kind of shading can be achieved with point meta. Like many other users, I am not too keen on punching in texts from screen shots, so I added some texts but you will find it easy to modify them to your needs.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryshadings
usepackagepgfplots
pgfplotssetcompat=1.16
begindocument
begintikzpicture[bullet/.style=circle,fill,inner sep=1pt,
declare function=f(x,y)=2-0.5*pow(x-1.25,2)-0.5*pow(y-1,2);]
beginaxis[view=15045,colormap/blackwhite,axis lines=middle,%
zmax=2.2,zmin=0,xmin=-0.2,xmax=2.4,ymin=-0.2,ymax=2,%
xlabel=$x$,ylabel=$y$,zlabel=$z$,
xtick=empty,ytick=empty,ztick=empty]
addplot3[surf,shader=interp,domain=0.6:2,domain y=0.5:1.2,opacity=0.7]
f(x,y);
addplot3[thick,domain=0.6:2,samples y=1] (x,1.2,f(x,1.2));
draw[dashed] (1.75,0,0) node[above left]$x_0$ -- (1.75,1.2,0)
node[bullet] (b1) -- (0,1.2,0) node[above right]$y_0$
(1.75,1.2,0) -- (1.75,1.2,f(1.75,1.2))node[bullet] ;
draw (1.75,1.2,f(1.75,1.2)) -- (0.75,1.2,f(1.75,1.2)+0.5)
coordinate[pos=0.5] (aux1);
draw[opacity=0.5,upper left=gray!80!black,upper right=gray!60,
lower left=gray!60,lower right=gray!80!black] (2,1.2,0) -- (0.6,1.2,0)
-- (0.6,1.2,2.2) -- (2,1.2,2.2) -- cycle;
addplot3[surf,shader=interp,domain=0.6:2,domain y=1.2:1.9,opacity=0.7]
f(x,y);
endaxis
draw (aux1) -- ++ (-1,1) node[above,align=center]slope in $x$ direction\
$partial_xf(x,y);
node[anchor=north west] at (b1) $(x_0,y_0)$;
%
beginaxis[xshift=6.5cm,view=15045,colormap/blackwhite,axis lines=middle,%
zmax=2.2,zmin=0,xmin=-0.2,xmax=2.4,ymin=-0.2,ymax=2,%
xlabel=$x$,ylabel=$y$,zlabel=$z$,
xtick=empty,ytick=empty,ztick=empty]
addplot3[surf,shader=interp,domain=0.6:1.75,domain y=0.5:1.9,opacity=0.7]
f(x,y);
addplot3[thick,domain=0.5:1.9,samples y=1] (1.75,x,f(1.75,x));
draw[dashed] (1.75,0,0) node[above left]$x_0$ -- (1.75,1.2,0)
node[bullet] (b2)
-- (0,1.2,0) node[above right]$y_0$
(1.75,1.2,0) -- (1.75,1.2,f(1.75,1.2))node[bullet] ;
draw (1.75,1.2,f(1.75,1.2)) -- (1.75,0.2,f(1.75,1.2)+0.2)
coordinate[pos=0.5] (aux2);
draw[opacity=0.5,upper left=gray!80!black,upper right=gray!60,
lower left=gray!60,lower right=gray!80!black] (1.75,0.5,0) -- (1.75,1.9,0)
-- (1.75,1.9,2.2) -- (1.75,0.5,2.2) -- cycle;
addplot3[surf,shader=interp,domain=1.75:2,domain y=0.5:1.9,opacity=0.7]
f(x,y);
endaxis
draw (aux2) -- ++ (0.3,1) node[above,align=center]_x=x_0,y=y_0$;
node[anchor=north east] at (b2) $(x_0,y_0)$;
endtikzpicture
enddocument

Your question contains four pictures, out of which I am focusing on the lower two. Given that you want to vary the gray level of the plots, I'd like to recommend pgfplots where this kind of shading can be achieved with point meta. Like many other users, I am not too keen on punching in texts from screen shots, so I added some texts but you will find it easy to modify them to your needs.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryshadings
usepackagepgfplots
pgfplotssetcompat=1.16
begindocument
begintikzpicture[bullet/.style=circle,fill,inner sep=1pt,
declare function=f(x,y)=2-0.5*pow(x-1.25,2)-0.5*pow(y-1,2);]
beginaxis[view=15045,colormap/blackwhite,axis lines=middle,%
zmax=2.2,zmin=0,xmin=-0.2,xmax=2.4,ymin=-0.2,ymax=2,%
xlabel=$x$,ylabel=$y$,zlabel=$z$,
xtick=empty,ytick=empty,ztick=empty]
addplot3[surf,shader=interp,domain=0.6:2,domain y=0.5:1.2,opacity=0.7]
f(x,y);
addplot3[thick,domain=0.6:2,samples y=1] (x,1.2,f(x,1.2));
draw[dashed] (1.75,0,0) node[above left]$x_0$ -- (1.75,1.2,0)
node[bullet] (b1) -- (0,1.2,0) node[above right]$y_0$
(1.75,1.2,0) -- (1.75,1.2,f(1.75,1.2))node[bullet] ;
draw (1.75,1.2,f(1.75,1.2)) -- (0.75,1.2,f(1.75,1.2)+0.5)
coordinate[pos=0.5] (aux1);
draw[opacity=0.5,upper left=gray!80!black,upper right=gray!60,
lower left=gray!60,lower right=gray!80!black] (2,1.2,0) -- (0.6,1.2,0)
-- (0.6,1.2,2.2) -- (2,1.2,2.2) -- cycle;
addplot3[surf,shader=interp,domain=0.6:2,domain y=1.2:1.9,opacity=0.7]
f(x,y);
endaxis
draw (aux1) -- ++ (-1,1) node[above,align=center]slope in $x$ direction\
$partial_xf(x,y);
node[anchor=north west] at (b1) $(x_0,y_0)$;
%
beginaxis[xshift=6.5cm,view=15045,colormap/blackwhite,axis lines=middle,%
zmax=2.2,zmin=0,xmin=-0.2,xmax=2.4,ymin=-0.2,ymax=2,%
xlabel=$x$,ylabel=$y$,zlabel=$z$,
xtick=empty,ytick=empty,ztick=empty]
addplot3[surf,shader=interp,domain=0.6:1.75,domain y=0.5:1.9,opacity=0.7]
f(x,y);
addplot3[thick,domain=0.5:1.9,samples y=1] (1.75,x,f(1.75,x));
draw[dashed] (1.75,0,0) node[above left]$x_0$ -- (1.75,1.2,0)
node[bullet] (b2)
-- (0,1.2,0) node[above right]$y_0$
(1.75,1.2,0) -- (1.75,1.2,f(1.75,1.2))node[bullet] ;
draw (1.75,1.2,f(1.75,1.2)) -- (1.75,0.2,f(1.75,1.2)+0.2)
coordinate[pos=0.5] (aux2);
draw[opacity=0.5,upper left=gray!80!black,upper right=gray!60,
lower left=gray!60,lower right=gray!80!black] (1.75,0.5,0) -- (1.75,1.9,0)
-- (1.75,1.9,2.2) -- (1.75,0.5,2.2) -- cycle;
addplot3[surf,shader=interp,domain=1.75:2,domain y=0.5:1.9,opacity=0.7]
f(x,y);
endaxis
draw (aux2) -- ++ (0.3,1) node[above,align=center]_x=x_0,y=y_0$;
node[anchor=north east] at (b2) $(x_0,y_0)$;
endtikzpicture
enddocument

edited Mar 17 at 0:30
answered Mar 16 at 18:14
marmotmarmot
111k5140264
111k5140264
5
excellent (+1).
– ferahfeza
Mar 16 at 19:13
4
Simply awesome.
– Sebastiano
Mar 16 at 20:17
add a comment |
5
excellent (+1).
– ferahfeza
Mar 16 at 19:13
4
Simply awesome.
– Sebastiano
Mar 16 at 20:17
5
5
excellent (+1).
– ferahfeza
Mar 16 at 19:13
excellent (+1).
– ferahfeza
Mar 16 at 19:13
4
4
Simply awesome.
– Sebastiano
Mar 16 at 20:17
Simply awesome.
– Sebastiano
Mar 16 at 20:17
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%2f479814%2fa-diagram-about-partial-derivatives-of-fx-y%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
6
Welcome to TeX.SE! Can you please show us the code you have tried so far?
– Kurt
Mar 16 at 17:17
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.
– Stefan Pinnow
Mar 16 at 17:55