Plotting the arctanh
Clash Royale CLAN TAG#URR8PPP
I've been trying to plot the arctanh function for a while now
documentclassarticle
usepackagetikz
usepackagepgfplots
begindocument
pgfkeys/pgf/declare function=arctanh(x) = 0.5*ln(1+x)/ln(1-x);
vspace1cm
begintikzpicture[trim axis left]
beginaxis[
xmin=-1, xmax=1,
ymin=-1, ymax=1,
samples=100,
enlarge x limits=false,
grid=both,
no markers,
axis equal]
addplot +[thick] arctanh(x);
endaxis
endtikzpicture
enddocument
but it doesn't look right, what am I doing wrong?
tikz-pgf
add a comment |
I've been trying to plot the arctanh function for a while now
documentclassarticle
usepackagetikz
usepackagepgfplots
begindocument
pgfkeys/pgf/declare function=arctanh(x) = 0.5*ln(1+x)/ln(1-x);
vspace1cm
begintikzpicture[trim axis left]
beginaxis[
xmin=-1, xmax=1,
ymin=-1, ymax=1,
samples=100,
enlarge x limits=false,
grid=both,
no markers,
axis equal]
addplot +[thick] arctanh(x);
endaxis
endtikzpicture
enddocument
but it doesn't look right, what am I doing wrong?
tikz-pgf
add a comment |
I've been trying to plot the arctanh function for a while now
documentclassarticle
usepackagetikz
usepackagepgfplots
begindocument
pgfkeys/pgf/declare function=arctanh(x) = 0.5*ln(1+x)/ln(1-x);
vspace1cm
begintikzpicture[trim axis left]
beginaxis[
xmin=-1, xmax=1,
ymin=-1, ymax=1,
samples=100,
enlarge x limits=false,
grid=both,
no markers,
axis equal]
addplot +[thick] arctanh(x);
endaxis
endtikzpicture
enddocument
but it doesn't look right, what am I doing wrong?
tikz-pgf
I've been trying to plot the arctanh function for a while now
documentclassarticle
usepackagetikz
usepackagepgfplots
begindocument
pgfkeys/pgf/declare function=arctanh(x) = 0.5*ln(1+x)/ln(1-x);
vspace1cm
begintikzpicture[trim axis left]
beginaxis[
xmin=-1, xmax=1,
ymin=-1, ymax=1,
samples=100,
enlarge x limits=false,
grid=both,
no markers,
axis equal]
addplot +[thick] arctanh(x);
endaxis
endtikzpicture
enddocument
but it doesn't look right, what am I doing wrong?
tikz-pgf
tikz-pgf
asked Dec 19 '18 at 9:47
Three Diag
20927
20927
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
It does not look right because there is a small mistake in the definition of arctanh
.
documentclassarticle
usepackagetikz
usepackagepgfplots
begindocument
pgfkeys/pgf/declare function=arctanh(x) = 0.5*(ln(1+x)-ln(1-x));
vspace1cm
begintikzpicture[trim axis left]
beginaxis[
xmin=-1, xmax=1,
ymin=-1, ymax=1,
samples=100,
enlarge x limits=false,
grid=both,
no markers,
axis equal]
addplot +[thick] arctanh(x);
endaxis
endtikzpicture
enddocument
Or, a somewhat closer representations to yours and a domain that avoids the warnings.
documentclassarticle
usepackagetikz
usepackagepgfplots
pgfplotssetcompat=1.16
begindocument
pgfkeys/pgf/declare function=arctanh(x) = 0.5*(ln((1+x)/(1-x)));
vspace1cm
begintikzpicture[trim axis left]
beginaxis[
xmin=-1, xmax=1,
ymin=-1, ymax=1,
samples=100,
enlarge x limits=false,
grid=both,
no markers,
axis equal]
addplot +[thick,domain=-0.99:0.99] arctanh(x);
endaxis
endtikzpicture
enddocument
add a comment |
For comparism purpose: run with xelatex
documentclassarticle
usepackagepstricks,pst-math,pst-plot
begindocument
beginpspicture[algebraic](-5,-4)(5,4)
psaxes->(0,0)(-5,-4)(5,4)
psplot[linewidth=1.5pt,linecolor=blue]15ACOSH(x)
psplot[linewidth=1.5pt,linecolor=red]-55ASINH(x)
psplot[linewidth=1.5pt,linecolor=green]-.999.999ATANH(x)
endpspicture
enddocument
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%2f466501%2fplotting-the-arctanh%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
It does not look right because there is a small mistake in the definition of arctanh
.
documentclassarticle
usepackagetikz
usepackagepgfplots
begindocument
pgfkeys/pgf/declare function=arctanh(x) = 0.5*(ln(1+x)-ln(1-x));
vspace1cm
begintikzpicture[trim axis left]
beginaxis[
xmin=-1, xmax=1,
ymin=-1, ymax=1,
samples=100,
enlarge x limits=false,
grid=both,
no markers,
axis equal]
addplot +[thick] arctanh(x);
endaxis
endtikzpicture
enddocument
Or, a somewhat closer representations to yours and a domain that avoids the warnings.
documentclassarticle
usepackagetikz
usepackagepgfplots
pgfplotssetcompat=1.16
begindocument
pgfkeys/pgf/declare function=arctanh(x) = 0.5*(ln((1+x)/(1-x)));
vspace1cm
begintikzpicture[trim axis left]
beginaxis[
xmin=-1, xmax=1,
ymin=-1, ymax=1,
samples=100,
enlarge x limits=false,
grid=both,
no markers,
axis equal]
addplot +[thick,domain=-0.99:0.99] arctanh(x);
endaxis
endtikzpicture
enddocument
add a comment |
It does not look right because there is a small mistake in the definition of arctanh
.
documentclassarticle
usepackagetikz
usepackagepgfplots
begindocument
pgfkeys/pgf/declare function=arctanh(x) = 0.5*(ln(1+x)-ln(1-x));
vspace1cm
begintikzpicture[trim axis left]
beginaxis[
xmin=-1, xmax=1,
ymin=-1, ymax=1,
samples=100,
enlarge x limits=false,
grid=both,
no markers,
axis equal]
addplot +[thick] arctanh(x);
endaxis
endtikzpicture
enddocument
Or, a somewhat closer representations to yours and a domain that avoids the warnings.
documentclassarticle
usepackagetikz
usepackagepgfplots
pgfplotssetcompat=1.16
begindocument
pgfkeys/pgf/declare function=arctanh(x) = 0.5*(ln((1+x)/(1-x)));
vspace1cm
begintikzpicture[trim axis left]
beginaxis[
xmin=-1, xmax=1,
ymin=-1, ymax=1,
samples=100,
enlarge x limits=false,
grid=both,
no markers,
axis equal]
addplot +[thick,domain=-0.99:0.99] arctanh(x);
endaxis
endtikzpicture
enddocument
add a comment |
It does not look right because there is a small mistake in the definition of arctanh
.
documentclassarticle
usepackagetikz
usepackagepgfplots
begindocument
pgfkeys/pgf/declare function=arctanh(x) = 0.5*(ln(1+x)-ln(1-x));
vspace1cm
begintikzpicture[trim axis left]
beginaxis[
xmin=-1, xmax=1,
ymin=-1, ymax=1,
samples=100,
enlarge x limits=false,
grid=both,
no markers,
axis equal]
addplot +[thick] arctanh(x);
endaxis
endtikzpicture
enddocument
Or, a somewhat closer representations to yours and a domain that avoids the warnings.
documentclassarticle
usepackagetikz
usepackagepgfplots
pgfplotssetcompat=1.16
begindocument
pgfkeys/pgf/declare function=arctanh(x) = 0.5*(ln((1+x)/(1-x)));
vspace1cm
begintikzpicture[trim axis left]
beginaxis[
xmin=-1, xmax=1,
ymin=-1, ymax=1,
samples=100,
enlarge x limits=false,
grid=both,
no markers,
axis equal]
addplot +[thick,domain=-0.99:0.99] arctanh(x);
endaxis
endtikzpicture
enddocument
It does not look right because there is a small mistake in the definition of arctanh
.
documentclassarticle
usepackagetikz
usepackagepgfplots
begindocument
pgfkeys/pgf/declare function=arctanh(x) = 0.5*(ln(1+x)-ln(1-x));
vspace1cm
begintikzpicture[trim axis left]
beginaxis[
xmin=-1, xmax=1,
ymin=-1, ymax=1,
samples=100,
enlarge x limits=false,
grid=both,
no markers,
axis equal]
addplot +[thick] arctanh(x);
endaxis
endtikzpicture
enddocument
Or, a somewhat closer representations to yours and a domain that avoids the warnings.
documentclassarticle
usepackagetikz
usepackagepgfplots
pgfplotssetcompat=1.16
begindocument
pgfkeys/pgf/declare function=arctanh(x) = 0.5*(ln((1+x)/(1-x)));
vspace1cm
begintikzpicture[trim axis left]
beginaxis[
xmin=-1, xmax=1,
ymin=-1, ymax=1,
samples=100,
enlarge x limits=false,
grid=both,
no markers,
axis equal]
addplot +[thick,domain=-0.99:0.99] arctanh(x);
endaxis
endtikzpicture
enddocument
answered Dec 19 '18 at 12:25
marmot
87.4k4100187
87.4k4100187
add a comment |
add a comment |
For comparism purpose: run with xelatex
documentclassarticle
usepackagepstricks,pst-math,pst-plot
begindocument
beginpspicture[algebraic](-5,-4)(5,4)
psaxes->(0,0)(-5,-4)(5,4)
psplot[linewidth=1.5pt,linecolor=blue]15ACOSH(x)
psplot[linewidth=1.5pt,linecolor=red]-55ASINH(x)
psplot[linewidth=1.5pt,linecolor=green]-.999.999ATANH(x)
endpspicture
enddocument
add a comment |
For comparism purpose: run with xelatex
documentclassarticle
usepackagepstricks,pst-math,pst-plot
begindocument
beginpspicture[algebraic](-5,-4)(5,4)
psaxes->(0,0)(-5,-4)(5,4)
psplot[linewidth=1.5pt,linecolor=blue]15ACOSH(x)
psplot[linewidth=1.5pt,linecolor=red]-55ASINH(x)
psplot[linewidth=1.5pt,linecolor=green]-.999.999ATANH(x)
endpspicture
enddocument
add a comment |
For comparism purpose: run with xelatex
documentclassarticle
usepackagepstricks,pst-math,pst-plot
begindocument
beginpspicture[algebraic](-5,-4)(5,4)
psaxes->(0,0)(-5,-4)(5,4)
psplot[linewidth=1.5pt,linecolor=blue]15ACOSH(x)
psplot[linewidth=1.5pt,linecolor=red]-55ASINH(x)
psplot[linewidth=1.5pt,linecolor=green]-.999.999ATANH(x)
endpspicture
enddocument
For comparism purpose: run with xelatex
documentclassarticle
usepackagepstricks,pst-math,pst-plot
begindocument
beginpspicture[algebraic](-5,-4)(5,4)
psaxes->(0,0)(-5,-4)(5,4)
psplot[linewidth=1.5pt,linecolor=blue]15ACOSH(x)
psplot[linewidth=1.5pt,linecolor=red]-55ASINH(x)
psplot[linewidth=1.5pt,linecolor=green]-.999.999ATANH(x)
endpspicture
enddocument
answered Dec 19 '18 at 12:47
Herbert
269k24408717
269k24408717
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f466501%2fplotting-the-arctanh%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