How to change viewpoint when using logarithmic scale with pgfplots?
I want to display a surface, with 3 points sitting on it. I attempted to combine two posts, with partial success. If I change the viewpoint, I receive the upper figure. In this case the log scaling goes away, but it is close to what I wanted (except the balls in the mesh points). If I do not change the view point, I receive the bottom figure, where the logarithmic scaling is perfect, but the interesting surface section and the points are not visible. How can I change the viewpoint, while keeping the log scaling?
BTW: what is the best way of emphasizing how the 3D positions of these points relate to each other? Maybe some extra mesh lines on a surface? Or some projected lines to the corresponding coordinates?
documentclass[border= 5mm]{standalone}
usepackage{pgfplots}
%https://tex.stackexchange.com/questions/232070/3d-surface-plot-with-logarithmic-x-and-y-axis
%http://pgfplots.net/tikz/examples/mesh-plot/
begin{document}
begin{tikzpicture}
begin{axis}
[view={105}{18}] %% Comment this out
[
scale = 1,
ymin = 1e5, xmax = 1.1e7,
ymin = 1e-8, ymax = 1e-5,
zmin = 0, zmax = 1,
ztick={.2,.5,.8,1.0},
ytick={1e-7,1e-6,1e-5},
colormap/jet,
xmode=log, ymode=log
]
addplot3+[
mesh,%scatter,%,samples=10
% surf,
samples=10,
domain=5:7.1,
domain y=-8:-5,
]
(10^x, 10^y, { 1/(10^x*10^y+(1-10^y))});
addlegendentry{Surface}
addplot3+[only marks] coordinates {
(2397824, 1.665e-7, 0.715) };
addlegendentry{A}
addplot3+[only marks] coordinates {
(1572480, 2.09e-7, 0.753) };
addlegendentry{B}
addplot3+[only marks] coordinates {
(10649600,33e-9,.742) };
addlegendentry{C}
end{axis}
end{tikzpicture}
end{document}
pgfplots 3d
add a comment |
I want to display a surface, with 3 points sitting on it. I attempted to combine two posts, with partial success. If I change the viewpoint, I receive the upper figure. In this case the log scaling goes away, but it is close to what I wanted (except the balls in the mesh points). If I do not change the view point, I receive the bottom figure, where the logarithmic scaling is perfect, but the interesting surface section and the points are not visible. How can I change the viewpoint, while keeping the log scaling?
BTW: what is the best way of emphasizing how the 3D positions of these points relate to each other? Maybe some extra mesh lines on a surface? Or some projected lines to the corresponding coordinates?
documentclass[border= 5mm]{standalone}
usepackage{pgfplots}
%https://tex.stackexchange.com/questions/232070/3d-surface-plot-with-logarithmic-x-and-y-axis
%http://pgfplots.net/tikz/examples/mesh-plot/
begin{document}
begin{tikzpicture}
begin{axis}
[view={105}{18}] %% Comment this out
[
scale = 1,
ymin = 1e5, xmax = 1.1e7,
ymin = 1e-8, ymax = 1e-5,
zmin = 0, zmax = 1,
ztick={.2,.5,.8,1.0},
ytick={1e-7,1e-6,1e-5},
colormap/jet,
xmode=log, ymode=log
]
addplot3+[
mesh,%scatter,%,samples=10
% surf,
samples=10,
domain=5:7.1,
domain y=-8:-5,
]
(10^x, 10^y, { 1/(10^x*10^y+(1-10^y))});
addlegendentry{Surface}
addplot3+[only marks] coordinates {
(2397824, 1.665e-7, 0.715) };
addlegendentry{A}
addplot3+[only marks] coordinates {
(1572480, 2.09e-7, 0.753) };
addlegendentry{B}
addplot3+[only marks] coordinates {
(10649600,33e-9,.742) };
addlegendentry{C}
end{axis}
end{tikzpicture}
end{document}
pgfplots 3d
add a comment |
I want to display a surface, with 3 points sitting on it. I attempted to combine two posts, with partial success. If I change the viewpoint, I receive the upper figure. In this case the log scaling goes away, but it is close to what I wanted (except the balls in the mesh points). If I do not change the view point, I receive the bottom figure, where the logarithmic scaling is perfect, but the interesting surface section and the points are not visible. How can I change the viewpoint, while keeping the log scaling?
BTW: what is the best way of emphasizing how the 3D positions of these points relate to each other? Maybe some extra mesh lines on a surface? Or some projected lines to the corresponding coordinates?
documentclass[border= 5mm]{standalone}
usepackage{pgfplots}
%https://tex.stackexchange.com/questions/232070/3d-surface-plot-with-logarithmic-x-and-y-axis
%http://pgfplots.net/tikz/examples/mesh-plot/
begin{document}
begin{tikzpicture}
begin{axis}
[view={105}{18}] %% Comment this out
[
scale = 1,
ymin = 1e5, xmax = 1.1e7,
ymin = 1e-8, ymax = 1e-5,
zmin = 0, zmax = 1,
ztick={.2,.5,.8,1.0},
ytick={1e-7,1e-6,1e-5},
colormap/jet,
xmode=log, ymode=log
]
addplot3+[
mesh,%scatter,%,samples=10
% surf,
samples=10,
domain=5:7.1,
domain y=-8:-5,
]
(10^x, 10^y, { 1/(10^x*10^y+(1-10^y))});
addlegendentry{Surface}
addplot3+[only marks] coordinates {
(2397824, 1.665e-7, 0.715) };
addlegendentry{A}
addplot3+[only marks] coordinates {
(1572480, 2.09e-7, 0.753) };
addlegendentry{B}
addplot3+[only marks] coordinates {
(10649600,33e-9,.742) };
addlegendentry{C}
end{axis}
end{tikzpicture}
end{document}
pgfplots 3d
I want to display a surface, with 3 points sitting on it. I attempted to combine two posts, with partial success. If I change the viewpoint, I receive the upper figure. In this case the log scaling goes away, but it is close to what I wanted (except the balls in the mesh points). If I do not change the view point, I receive the bottom figure, where the logarithmic scaling is perfect, but the interesting surface section and the points are not visible. How can I change the viewpoint, while keeping the log scaling?
BTW: what is the best way of emphasizing how the 3D positions of these points relate to each other? Maybe some extra mesh lines on a surface? Or some projected lines to the corresponding coordinates?
documentclass[border= 5mm]{standalone}
usepackage{pgfplots}
%https://tex.stackexchange.com/questions/232070/3d-surface-plot-with-logarithmic-x-and-y-axis
%http://pgfplots.net/tikz/examples/mesh-plot/
begin{document}
begin{tikzpicture}
begin{axis}
[view={105}{18}] %% Comment this out
[
scale = 1,
ymin = 1e5, xmax = 1.1e7,
ymin = 1e-8, ymax = 1e-5,
zmin = 0, zmax = 1,
ztick={.2,.5,.8,1.0},
ytick={1e-7,1e-6,1e-5},
colormap/jet,
xmode=log, ymode=log
]
addplot3+[
mesh,%scatter,%,samples=10
% surf,
samples=10,
domain=5:7.1,
domain y=-8:-5,
]
(10^x, 10^y, { 1/(10^x*10^y+(1-10^y))});
addlegendentry{Surface}
addplot3+[only marks] coordinates {
(2397824, 1.665e-7, 0.715) };
addlegendentry{A}
addplot3+[only marks] coordinates {
(1572480, 2.09e-7, 0.753) };
addlegendentry{B}
addplot3+[only marks] coordinates {
(10649600,33e-9,.742) };
addlegendentry{C}
end{axis}
end{tikzpicture}
end{document}
pgfplots 3d
pgfplots 3d
asked Mar 16 at 15:36
katangkatang
693411
693411
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I will be happy to remove this. You have closed the ]
of the axis options, which is why all the logarithmic stuff got ignored. Just replace ][
by a comma to arrive at
documentclass[border= 5mm]{standalone}
usepackage{pgfplots}
%https://tex.stackexchange.com/questions/232070/3d-surface-plot-with-logarithmic-x-and-y-axis
%http://pgfplots.net/tikz/examples/mesh-plot/
begin{document}
begin{tikzpicture}
begin{axis}
[view={105}{18}, %% Comment this out
scale = 1,
ymin = 1e5, xmax = 1.1e7,
ymin = 1e-8, ymax = 1e-5,
zmin = 0, zmax = 1,
ztick={.2,.5,.8,1.0},
ytick={1e-7,1e-6,1e-5},
colormap/jet,
xmode=log, ymode=log
]
addplot3+[
mesh,%scatter,%,samples=10
% surf,
samples=10,
domain=5:7.1,
domain y=-8:-5,
]
(10^x, 10^y, { 1/(10^x*10^y+(1-10^y))});
addlegendentry{Surface}
addplot3+[only marks] coordinates {
(2397824, 1.665e-7, 0.715) };
addlegendentry{A}
addplot3+[only marks] coordinates {
(1572480, 2.09e-7, 0.753) };
addlegendentry{B}
addplot3+[only marks] coordinates {
(10649600,33e-9,.742) };
addlegendentry{C}
end{axis}
end{tikzpicture}
end{document}
As for the question what the best way to indicate the location is, I don't know, but I feel adding thin lines that connect the lines with the bottom and drawing the surface last may help.
documentclass[border= 5mm]{standalone}
usepackage{pgfplots}
pgfplotsset{compat=1.16}
%https://tex.stackexchange.com/questions/232070/3d-surface-plot-with-logarithmic-x-and-y-axis
%http://pgfplots.net/tikz/examples/mesh-plot/
begin{document}
begin{tikzpicture}
begin{axis}
[view={105}{18}, %% Comment this out
scale = 1,
ymin = 1e5, xmax = 1.1e7,
ymin = 1e-8, ymax = 1e-5,
zmin = 0, zmax = 1,
ztick={.2,.5,.8,1.0},
ytick={1e-7,1e-6,1e-5},
colormap/jet,
xmode=log, ymode=log
]
addplot3+[only marks] coordinates {
(2397824, 1.665e-7, 0.715) };
draw[thin,gray] (2397824, 1.665e-7, 0.715) -- (2397824, 1.665e-7, 0);
addlegendentry{A}
addplot3+[only marks] coordinates {
(1572480, 2.09e-7, 0.753) };
draw[thin,gray] (1572480, 2.09e-7, 0.753) -- (1572480, 2.09e-7, 0) ;
addlegendentry{B}
addplot3+[only marks] coordinates {
(10649600,33e-9,.742) };
draw[thin,gray] (10649600,33e-9,.742) -- (10649600,33e-9,0);
addlegendentry{C}
addplot3+[
mesh,%scatter,%,samples=10
% surf,
samples=10,
domain=5:7.1,
domain y=-8:-5,
]
(10^x, 10^y, { 1/(10^x*10^y+(1-10^y))});
addlegendentry{Surface}
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%2f479806%2fhow-to-change-viewpoint-when-using-logarithmic-scale-with-pgfplots%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
I will be happy to remove this. You have closed the ]
of the axis options, which is why all the logarithmic stuff got ignored. Just replace ][
by a comma to arrive at
documentclass[border= 5mm]{standalone}
usepackage{pgfplots}
%https://tex.stackexchange.com/questions/232070/3d-surface-plot-with-logarithmic-x-and-y-axis
%http://pgfplots.net/tikz/examples/mesh-plot/
begin{document}
begin{tikzpicture}
begin{axis}
[view={105}{18}, %% Comment this out
scale = 1,
ymin = 1e5, xmax = 1.1e7,
ymin = 1e-8, ymax = 1e-5,
zmin = 0, zmax = 1,
ztick={.2,.5,.8,1.0},
ytick={1e-7,1e-6,1e-5},
colormap/jet,
xmode=log, ymode=log
]
addplot3+[
mesh,%scatter,%,samples=10
% surf,
samples=10,
domain=5:7.1,
domain y=-8:-5,
]
(10^x, 10^y, { 1/(10^x*10^y+(1-10^y))});
addlegendentry{Surface}
addplot3+[only marks] coordinates {
(2397824, 1.665e-7, 0.715) };
addlegendentry{A}
addplot3+[only marks] coordinates {
(1572480, 2.09e-7, 0.753) };
addlegendentry{B}
addplot3+[only marks] coordinates {
(10649600,33e-9,.742) };
addlegendentry{C}
end{axis}
end{tikzpicture}
end{document}
As for the question what the best way to indicate the location is, I don't know, but I feel adding thin lines that connect the lines with the bottom and drawing the surface last may help.
documentclass[border= 5mm]{standalone}
usepackage{pgfplots}
pgfplotsset{compat=1.16}
%https://tex.stackexchange.com/questions/232070/3d-surface-plot-with-logarithmic-x-and-y-axis
%http://pgfplots.net/tikz/examples/mesh-plot/
begin{document}
begin{tikzpicture}
begin{axis}
[view={105}{18}, %% Comment this out
scale = 1,
ymin = 1e5, xmax = 1.1e7,
ymin = 1e-8, ymax = 1e-5,
zmin = 0, zmax = 1,
ztick={.2,.5,.8,1.0},
ytick={1e-7,1e-6,1e-5},
colormap/jet,
xmode=log, ymode=log
]
addplot3+[only marks] coordinates {
(2397824, 1.665e-7, 0.715) };
draw[thin,gray] (2397824, 1.665e-7, 0.715) -- (2397824, 1.665e-7, 0);
addlegendentry{A}
addplot3+[only marks] coordinates {
(1572480, 2.09e-7, 0.753) };
draw[thin,gray] (1572480, 2.09e-7, 0.753) -- (1572480, 2.09e-7, 0) ;
addlegendentry{B}
addplot3+[only marks] coordinates {
(10649600,33e-9,.742) };
draw[thin,gray] (10649600,33e-9,.742) -- (10649600,33e-9,0);
addlegendentry{C}
addplot3+[
mesh,%scatter,%,samples=10
% surf,
samples=10,
domain=5:7.1,
domain y=-8:-5,
]
(10^x, 10^y, { 1/(10^x*10^y+(1-10^y))});
addlegendentry{Surface}
end{axis}
end{tikzpicture}
end{document}
add a comment |
I will be happy to remove this. You have closed the ]
of the axis options, which is why all the logarithmic stuff got ignored. Just replace ][
by a comma to arrive at
documentclass[border= 5mm]{standalone}
usepackage{pgfplots}
%https://tex.stackexchange.com/questions/232070/3d-surface-plot-with-logarithmic-x-and-y-axis
%http://pgfplots.net/tikz/examples/mesh-plot/
begin{document}
begin{tikzpicture}
begin{axis}
[view={105}{18}, %% Comment this out
scale = 1,
ymin = 1e5, xmax = 1.1e7,
ymin = 1e-8, ymax = 1e-5,
zmin = 0, zmax = 1,
ztick={.2,.5,.8,1.0},
ytick={1e-7,1e-6,1e-5},
colormap/jet,
xmode=log, ymode=log
]
addplot3+[
mesh,%scatter,%,samples=10
% surf,
samples=10,
domain=5:7.1,
domain y=-8:-5,
]
(10^x, 10^y, { 1/(10^x*10^y+(1-10^y))});
addlegendentry{Surface}
addplot3+[only marks] coordinates {
(2397824, 1.665e-7, 0.715) };
addlegendentry{A}
addplot3+[only marks] coordinates {
(1572480, 2.09e-7, 0.753) };
addlegendentry{B}
addplot3+[only marks] coordinates {
(10649600,33e-9,.742) };
addlegendentry{C}
end{axis}
end{tikzpicture}
end{document}
As for the question what the best way to indicate the location is, I don't know, but I feel adding thin lines that connect the lines with the bottom and drawing the surface last may help.
documentclass[border= 5mm]{standalone}
usepackage{pgfplots}
pgfplotsset{compat=1.16}
%https://tex.stackexchange.com/questions/232070/3d-surface-plot-with-logarithmic-x-and-y-axis
%http://pgfplots.net/tikz/examples/mesh-plot/
begin{document}
begin{tikzpicture}
begin{axis}
[view={105}{18}, %% Comment this out
scale = 1,
ymin = 1e5, xmax = 1.1e7,
ymin = 1e-8, ymax = 1e-5,
zmin = 0, zmax = 1,
ztick={.2,.5,.8,1.0},
ytick={1e-7,1e-6,1e-5},
colormap/jet,
xmode=log, ymode=log
]
addplot3+[only marks] coordinates {
(2397824, 1.665e-7, 0.715) };
draw[thin,gray] (2397824, 1.665e-7, 0.715) -- (2397824, 1.665e-7, 0);
addlegendentry{A}
addplot3+[only marks] coordinates {
(1572480, 2.09e-7, 0.753) };
draw[thin,gray] (1572480, 2.09e-7, 0.753) -- (1572480, 2.09e-7, 0) ;
addlegendentry{B}
addplot3+[only marks] coordinates {
(10649600,33e-9,.742) };
draw[thin,gray] (10649600,33e-9,.742) -- (10649600,33e-9,0);
addlegendentry{C}
addplot3+[
mesh,%scatter,%,samples=10
% surf,
samples=10,
domain=5:7.1,
domain y=-8:-5,
]
(10^x, 10^y, { 1/(10^x*10^y+(1-10^y))});
addlegendentry{Surface}
end{axis}
end{tikzpicture}
end{document}
add a comment |
I will be happy to remove this. You have closed the ]
of the axis options, which is why all the logarithmic stuff got ignored. Just replace ][
by a comma to arrive at
documentclass[border= 5mm]{standalone}
usepackage{pgfplots}
%https://tex.stackexchange.com/questions/232070/3d-surface-plot-with-logarithmic-x-and-y-axis
%http://pgfplots.net/tikz/examples/mesh-plot/
begin{document}
begin{tikzpicture}
begin{axis}
[view={105}{18}, %% Comment this out
scale = 1,
ymin = 1e5, xmax = 1.1e7,
ymin = 1e-8, ymax = 1e-5,
zmin = 0, zmax = 1,
ztick={.2,.5,.8,1.0},
ytick={1e-7,1e-6,1e-5},
colormap/jet,
xmode=log, ymode=log
]
addplot3+[
mesh,%scatter,%,samples=10
% surf,
samples=10,
domain=5:7.1,
domain y=-8:-5,
]
(10^x, 10^y, { 1/(10^x*10^y+(1-10^y))});
addlegendentry{Surface}
addplot3+[only marks] coordinates {
(2397824, 1.665e-7, 0.715) };
addlegendentry{A}
addplot3+[only marks] coordinates {
(1572480, 2.09e-7, 0.753) };
addlegendentry{B}
addplot3+[only marks] coordinates {
(10649600,33e-9,.742) };
addlegendentry{C}
end{axis}
end{tikzpicture}
end{document}
As for the question what the best way to indicate the location is, I don't know, but I feel adding thin lines that connect the lines with the bottom and drawing the surface last may help.
documentclass[border= 5mm]{standalone}
usepackage{pgfplots}
pgfplotsset{compat=1.16}
%https://tex.stackexchange.com/questions/232070/3d-surface-plot-with-logarithmic-x-and-y-axis
%http://pgfplots.net/tikz/examples/mesh-plot/
begin{document}
begin{tikzpicture}
begin{axis}
[view={105}{18}, %% Comment this out
scale = 1,
ymin = 1e5, xmax = 1.1e7,
ymin = 1e-8, ymax = 1e-5,
zmin = 0, zmax = 1,
ztick={.2,.5,.8,1.0},
ytick={1e-7,1e-6,1e-5},
colormap/jet,
xmode=log, ymode=log
]
addplot3+[only marks] coordinates {
(2397824, 1.665e-7, 0.715) };
draw[thin,gray] (2397824, 1.665e-7, 0.715) -- (2397824, 1.665e-7, 0);
addlegendentry{A}
addplot3+[only marks] coordinates {
(1572480, 2.09e-7, 0.753) };
draw[thin,gray] (1572480, 2.09e-7, 0.753) -- (1572480, 2.09e-7, 0) ;
addlegendentry{B}
addplot3+[only marks] coordinates {
(10649600,33e-9,.742) };
draw[thin,gray] (10649600,33e-9,.742) -- (10649600,33e-9,0);
addlegendentry{C}
addplot3+[
mesh,%scatter,%,samples=10
% surf,
samples=10,
domain=5:7.1,
domain y=-8:-5,
]
(10^x, 10^y, { 1/(10^x*10^y+(1-10^y))});
addlegendentry{Surface}
end{axis}
end{tikzpicture}
end{document}
I will be happy to remove this. You have closed the ]
of the axis options, which is why all the logarithmic stuff got ignored. Just replace ][
by a comma to arrive at
documentclass[border= 5mm]{standalone}
usepackage{pgfplots}
%https://tex.stackexchange.com/questions/232070/3d-surface-plot-with-logarithmic-x-and-y-axis
%http://pgfplots.net/tikz/examples/mesh-plot/
begin{document}
begin{tikzpicture}
begin{axis}
[view={105}{18}, %% Comment this out
scale = 1,
ymin = 1e5, xmax = 1.1e7,
ymin = 1e-8, ymax = 1e-5,
zmin = 0, zmax = 1,
ztick={.2,.5,.8,1.0},
ytick={1e-7,1e-6,1e-5},
colormap/jet,
xmode=log, ymode=log
]
addplot3+[
mesh,%scatter,%,samples=10
% surf,
samples=10,
domain=5:7.1,
domain y=-8:-5,
]
(10^x, 10^y, { 1/(10^x*10^y+(1-10^y))});
addlegendentry{Surface}
addplot3+[only marks] coordinates {
(2397824, 1.665e-7, 0.715) };
addlegendentry{A}
addplot3+[only marks] coordinates {
(1572480, 2.09e-7, 0.753) };
addlegendentry{B}
addplot3+[only marks] coordinates {
(10649600,33e-9,.742) };
addlegendentry{C}
end{axis}
end{tikzpicture}
end{document}
As for the question what the best way to indicate the location is, I don't know, but I feel adding thin lines that connect the lines with the bottom and drawing the surface last may help.
documentclass[border= 5mm]{standalone}
usepackage{pgfplots}
pgfplotsset{compat=1.16}
%https://tex.stackexchange.com/questions/232070/3d-surface-plot-with-logarithmic-x-and-y-axis
%http://pgfplots.net/tikz/examples/mesh-plot/
begin{document}
begin{tikzpicture}
begin{axis}
[view={105}{18}, %% Comment this out
scale = 1,
ymin = 1e5, xmax = 1.1e7,
ymin = 1e-8, ymax = 1e-5,
zmin = 0, zmax = 1,
ztick={.2,.5,.8,1.0},
ytick={1e-7,1e-6,1e-5},
colormap/jet,
xmode=log, ymode=log
]
addplot3+[only marks] coordinates {
(2397824, 1.665e-7, 0.715) };
draw[thin,gray] (2397824, 1.665e-7, 0.715) -- (2397824, 1.665e-7, 0);
addlegendentry{A}
addplot3+[only marks] coordinates {
(1572480, 2.09e-7, 0.753) };
draw[thin,gray] (1572480, 2.09e-7, 0.753) -- (1572480, 2.09e-7, 0) ;
addlegendentry{B}
addplot3+[only marks] coordinates {
(10649600,33e-9,.742) };
draw[thin,gray] (10649600,33e-9,.742) -- (10649600,33e-9,0);
addlegendentry{C}
addplot3+[
mesh,%scatter,%,samples=10
% surf,
samples=10,
domain=5:7.1,
domain y=-8:-5,
]
(10^x, 10^y, { 1/(10^x*10^y+(1-10^y))});
addlegendentry{Surface}
end{axis}
end{tikzpicture}
end{document}
edited Mar 16 at 16:17
answered Mar 16 at 15:57
marmotmarmot
111k5140264
111k5140264
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%2f479806%2fhow-to-change-viewpoint-when-using-logarithmic-scale-with-pgfplots%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