pgfplots: How to draw exponential graph with 60° start angle?plotting two time series with boundsHow do i get the x axis on top but keep a line on the bottomTikZ: Drawing an arc from an intersection to an intersectionHow 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 graphDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingDisplaying a pgfplots graph above another pgfplots graph in TikZpgfplots: percentage in matrix plotCenter the axes in the coordinate origin
What type of content (depth/breadth) is expected for a short presentation for Asst Professor interview in the UK?
How can saying a song's name be a copyright violation?
Would Slavery Reparations be considered Bills of Attainder and hence Illegal?
Is it inappropriate for a student to attend their mentor's dissertation defense?
Why do bosons tend to occupy the same state?
Is it possible to create a QR code using text?
Unlock My Phone! February 2018
How much of data wrangling is a data scientist's job?
What does “the session was packed” mean in this context?
What method can I use to design a dungeon difficult enough that the PCs can't make it through without killing them?
Plagiarism or not?
Mathematica command that allows it to read my intentions
How could indestructible materials be used in power generation?
What are some good books on Machine Learning and AI like Krugman, Wells and Graddy's "Essentials of Economics"
Should I tell management that I intend to leave due to bad software development practices?
ssTTsSTtRrriinInnnnNNNIiinngg
What is a romance in Latin?
Extract rows of a table, that include less than x NULLs
Is it acceptable for a professor to tell male students to not think that they are smarter than female students?
Ambiguity in the definition of entropy
How does having to sign to support someone for elections fit with having a secret ballot?
Is it logically or scientifically possible to artificially send energy to the body?
What exploit Are these user agents trying to use?
What do you call someone who asks many questions?
pgfplots: How to draw exponential graph with 60° start angle?
plotting two time series with boundsHow do i get the x axis on top but keep a line on the bottomTikZ: Drawing an arc from an intersection to an intersectionHow 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 graphDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingDisplaying a pgfplots graph above another pgfplots graph in TikZpgfplots: percentage in matrix plotCenter the axes in the coordinate origin
I want to draw a simplified Michaelis-Menten kinetic (monod-function) to compare it with a linear function.
Minimum Working Example (MWE):
documentclassstandalone
usepackagepgfplots
usepackageamsmath
pgfplotssetcompat=1.14, /pgf/declare function=f1(x)=ln(x);% <- This is the exponential function which needs to be optimized
begindocument
begintikzpicture
beginaxis[
ymin = 0,
xmin = 0,
xmax = 1,
ymax = 0.9,
axis x line = bottom,
axis y line = left,
]
% addplot[no marks, samples=100, draw=blue] f1(x);% This is the exponential graph based on the function
addplot[no marks, samples=100, draw=black, thick] coordinates(0,0) (0.2020725942,0.35);%
addplot[no marks, samples=100, draw=black, thick] (0.2020725942,0.35) to [out=60,in=180] (0.8,0.7) to [out=0,in=0] (1,0.7);%
draw[draw=black, dashed] (0,0.7) -- node[above] (y_texttot) ++(0.8,0.0);%
draw[draw=black, dashed] (0,0.35) -- node[above] (fracy_texttot2) ++(0.2020725942,0) -- (0.2020725942,-0.35);%
endaxis
endtikzpicture
enddocument
Screenshot of the result:

Description of the issue:
How can I replace the current graph with an exponential graph?
Start point of the exponential graph:
- Start point: x = 0.2020725942,
y = 0.35,
angle = 60°, - End point: y = ~ 0.7 (of course, wherever the e-function would end)
As soon as I activate the graph with the exponential function, my whole diagram will be distorted. How to implement an exponential graph based on the upper values correctly?
tikz-pgf pgfplots plot graphs tikz-graphs
add a comment |
I want to draw a simplified Michaelis-Menten kinetic (monod-function) to compare it with a linear function.
Minimum Working Example (MWE):
documentclassstandalone
usepackagepgfplots
usepackageamsmath
pgfplotssetcompat=1.14, /pgf/declare function=f1(x)=ln(x);% <- This is the exponential function which needs to be optimized
begindocument
begintikzpicture
beginaxis[
ymin = 0,
xmin = 0,
xmax = 1,
ymax = 0.9,
axis x line = bottom,
axis y line = left,
]
% addplot[no marks, samples=100, draw=blue] f1(x);% This is the exponential graph based on the function
addplot[no marks, samples=100, draw=black, thick] coordinates(0,0) (0.2020725942,0.35);%
addplot[no marks, samples=100, draw=black, thick] (0.2020725942,0.35) to [out=60,in=180] (0.8,0.7) to [out=0,in=0] (1,0.7);%
draw[draw=black, dashed] (0,0.7) -- node[above] (y_texttot) ++(0.8,0.0);%
draw[draw=black, dashed] (0,0.35) -- node[above] (fracy_texttot2) ++(0.2020725942,0) -- (0.2020725942,-0.35);%
endaxis
endtikzpicture
enddocument
Screenshot of the result:

Description of the issue:
How can I replace the current graph with an exponential graph?
Start point of the exponential graph:
- Start point: x = 0.2020725942,
y = 0.35,
angle = 60°, - End point: y = ~ 0.7 (of course, wherever the e-function would end)
As soon as I activate the graph with the exponential function, my whole diagram will be distorted. How to implement an exponential graph based on the upper values correctly?
tikz-pgf pgfplots plot graphs tikz-graphs
3
This looks like a question of math not of tex/tikz : how should I chooseaandbinf(x) = a*exp(x)+bsuch thatf(0.2020725942)=0.35andf'(0.2020725942)=tan(pi/3)? If this is the case here is not the right place to ask this question.
– Kpym
9 hours ago
@Kpym: I am sorry, the confusion came because of the mixed axis scalings. NOT because of the function...
– Dave
8 hours ago
add a comment |
I want to draw a simplified Michaelis-Menten kinetic (monod-function) to compare it with a linear function.
Minimum Working Example (MWE):
documentclassstandalone
usepackagepgfplots
usepackageamsmath
pgfplotssetcompat=1.14, /pgf/declare function=f1(x)=ln(x);% <- This is the exponential function which needs to be optimized
begindocument
begintikzpicture
beginaxis[
ymin = 0,
xmin = 0,
xmax = 1,
ymax = 0.9,
axis x line = bottom,
axis y line = left,
]
% addplot[no marks, samples=100, draw=blue] f1(x);% This is the exponential graph based on the function
addplot[no marks, samples=100, draw=black, thick] coordinates(0,0) (0.2020725942,0.35);%
addplot[no marks, samples=100, draw=black, thick] (0.2020725942,0.35) to [out=60,in=180] (0.8,0.7) to [out=0,in=0] (1,0.7);%
draw[draw=black, dashed] (0,0.7) -- node[above] (y_texttot) ++(0.8,0.0);%
draw[draw=black, dashed] (0,0.35) -- node[above] (fracy_texttot2) ++(0.2020725942,0) -- (0.2020725942,-0.35);%
endaxis
endtikzpicture
enddocument
Screenshot of the result:

Description of the issue:
How can I replace the current graph with an exponential graph?
Start point of the exponential graph:
- Start point: x = 0.2020725942,
y = 0.35,
angle = 60°, - End point: y = ~ 0.7 (of course, wherever the e-function would end)
As soon as I activate the graph with the exponential function, my whole diagram will be distorted. How to implement an exponential graph based on the upper values correctly?
tikz-pgf pgfplots plot graphs tikz-graphs
I want to draw a simplified Michaelis-Menten kinetic (monod-function) to compare it with a linear function.
Minimum Working Example (MWE):
documentclassstandalone
usepackagepgfplots
usepackageamsmath
pgfplotssetcompat=1.14, /pgf/declare function=f1(x)=ln(x);% <- This is the exponential function which needs to be optimized
begindocument
begintikzpicture
beginaxis[
ymin = 0,
xmin = 0,
xmax = 1,
ymax = 0.9,
axis x line = bottom,
axis y line = left,
]
% addplot[no marks, samples=100, draw=blue] f1(x);% This is the exponential graph based on the function
addplot[no marks, samples=100, draw=black, thick] coordinates(0,0) (0.2020725942,0.35);%
addplot[no marks, samples=100, draw=black, thick] (0.2020725942,0.35) to [out=60,in=180] (0.8,0.7) to [out=0,in=0] (1,0.7);%
draw[draw=black, dashed] (0,0.7) -- node[above] (y_texttot) ++(0.8,0.0);%
draw[draw=black, dashed] (0,0.35) -- node[above] (fracy_texttot2) ++(0.2020725942,0) -- (0.2020725942,-0.35);%
endaxis
endtikzpicture
enddocument
Screenshot of the result:

Description of the issue:
How can I replace the current graph with an exponential graph?
Start point of the exponential graph:
- Start point: x = 0.2020725942,
y = 0.35,
angle = 60°, - End point: y = ~ 0.7 (of course, wherever the e-function would end)
As soon as I activate the graph with the exponential function, my whole diagram will be distorted. How to implement an exponential graph based on the upper values correctly?
tikz-pgf pgfplots plot graphs tikz-graphs
tikz-pgf pgfplots plot graphs tikz-graphs
asked 9 hours ago
DaveDave
1,185619
1,185619
3
This looks like a question of math not of tex/tikz : how should I chooseaandbinf(x) = a*exp(x)+bsuch thatf(0.2020725942)=0.35andf'(0.2020725942)=tan(pi/3)? If this is the case here is not the right place to ask this question.
– Kpym
9 hours ago
@Kpym: I am sorry, the confusion came because of the mixed axis scalings. NOT because of the function...
– Dave
8 hours ago
add a comment |
3
This looks like a question of math not of tex/tikz : how should I chooseaandbinf(x) = a*exp(x)+bsuch thatf(0.2020725942)=0.35andf'(0.2020725942)=tan(pi/3)? If this is the case here is not the right place to ask this question.
– Kpym
9 hours ago
@Kpym: I am sorry, the confusion came because of the mixed axis scalings. NOT because of the function...
– Dave
8 hours ago
3
3
This looks like a question of math not of tex/tikz : how should I choose
a and b in f(x) = a*exp(x)+b such that f(0.2020725942)=0.35 and f'(0.2020725942)=tan(pi/3) ? If this is the case here is not the right place to ask this question.– Kpym
9 hours ago
This looks like a question of math not of tex/tikz : how should I choose
a and b in f(x) = a*exp(x)+b such that f(0.2020725942)=0.35 and f'(0.2020725942)=tan(pi/3) ? If this is the case here is not the right place to ask this question.– Kpym
9 hours ago
@Kpym: I am sorry, the confusion came because of the mixed axis scalings. NOT because of the function...
– Dave
8 hours ago
@Kpym: I am sorry, the confusion came because of the mixed axis scalings. NOT because of the function...
– Dave
8 hours ago
add a comment |
2 Answers
2
active
oldest
votes
One way is via this (note this uses a differnt function than yours). Your MWE is not wrong IMO. However, due to varying domains, your final axis is getting mixed-up.
Nevertheless, you can obtain your desired solution with a summation of two-exponents.
documentclassamsart
usepackagepgfplots
pgfplotssetcompat=newest
usepackagetikz
begindocument
begintikzpicture
beginaxis[
scaled ticks=false,
xmin=0,
xmax=1,
ymin=0,
ymax=1.2,
xlabel=x axis label,
ylabel=y axis label,
axis x line = bottom,
axis y line = left,
]
addplot[domain=0.2:1.2, samples=1000, red, ultra thick,smooth] (1-e^(-5*x)-exp(-10*x))*0.7;
addplot[no marks, samples=100, draw=black, thick] coordinates(0,0) (0.2020725942,0.35);%
draw[draw=black, dashed] (0,0.7) -- node[above] (y_texttot) ++(1,0.0);%
draw[draw=black, dashed] (0,0.35) -- node[above] (fracy_texttot2) ++(0.2020725942,0) -- (0.2020725942,-0.35);%
endaxis
endtikzpicture
enddocument
to get:

Thanks a lot! I am confused: Why doesn't this work withdocumentclassstandalone?
– Dave
8 hours ago
1
@Dave instandaloneplease includeamsmath.
– Raaja
8 hours ago
add a comment |
I would not find a function for that. A curve with exact starting angle (60°) and ending angle (180°) is enough here.
And also, why don't you simply use tan function in TikZ? 0.2020725942 ≈ 0.35 × tan(30°), but certainly if you type .35*tan(30) it is more accurate than 0.2020725942.
documentclass[tikz]standalone
begindocument
begintikzpicture[scale=8,>=stealth]
draw[<->] (1,0) -- (0,0) -- (0,.9);
draw[thick] (0,0) -- (.35*tan(30),0.35) coordinate (a);
draw[thick] (a) to[out=60,in=180] (0.8,0.7) -- (1,0.7);
foreach i in 0,0.2,0.4,0.6,0.8
draw (i,.01) -- (i,-.01) node[below] $i$;
draw (.01,i) -- (-.01,i) node[left] $i$;
draw (1,.01) -- (1,-.01) node[below] $1$;
draw[dashed] (0.8,0.7) -- (0,0.7) node[midway,above] $y_mathrmtot$;
draw[dashed] (.35*tan(30),0) -- (.35*tan(30),0.35);
draw[dashed] (.35*tan(30),0.35) -- (0,0.35) node[midway,above] $y_mathrmtot/2$;
endtikzpicture
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%2f482973%2fpgfplots-how-to-draw-exponential-graph-with-60-start-angle%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
One way is via this (note this uses a differnt function than yours). Your MWE is not wrong IMO. However, due to varying domains, your final axis is getting mixed-up.
Nevertheless, you can obtain your desired solution with a summation of two-exponents.
documentclassamsart
usepackagepgfplots
pgfplotssetcompat=newest
usepackagetikz
begindocument
begintikzpicture
beginaxis[
scaled ticks=false,
xmin=0,
xmax=1,
ymin=0,
ymax=1.2,
xlabel=x axis label,
ylabel=y axis label,
axis x line = bottom,
axis y line = left,
]
addplot[domain=0.2:1.2, samples=1000, red, ultra thick,smooth] (1-e^(-5*x)-exp(-10*x))*0.7;
addplot[no marks, samples=100, draw=black, thick] coordinates(0,0) (0.2020725942,0.35);%
draw[draw=black, dashed] (0,0.7) -- node[above] (y_texttot) ++(1,0.0);%
draw[draw=black, dashed] (0,0.35) -- node[above] (fracy_texttot2) ++(0.2020725942,0) -- (0.2020725942,-0.35);%
endaxis
endtikzpicture
enddocument
to get:

Thanks a lot! I am confused: Why doesn't this work withdocumentclassstandalone?
– Dave
8 hours ago
1
@Dave instandaloneplease includeamsmath.
– Raaja
8 hours ago
add a comment |
One way is via this (note this uses a differnt function than yours). Your MWE is not wrong IMO. However, due to varying domains, your final axis is getting mixed-up.
Nevertheless, you can obtain your desired solution with a summation of two-exponents.
documentclassamsart
usepackagepgfplots
pgfplotssetcompat=newest
usepackagetikz
begindocument
begintikzpicture
beginaxis[
scaled ticks=false,
xmin=0,
xmax=1,
ymin=0,
ymax=1.2,
xlabel=x axis label,
ylabel=y axis label,
axis x line = bottom,
axis y line = left,
]
addplot[domain=0.2:1.2, samples=1000, red, ultra thick,smooth] (1-e^(-5*x)-exp(-10*x))*0.7;
addplot[no marks, samples=100, draw=black, thick] coordinates(0,0) (0.2020725942,0.35);%
draw[draw=black, dashed] (0,0.7) -- node[above] (y_texttot) ++(1,0.0);%
draw[draw=black, dashed] (0,0.35) -- node[above] (fracy_texttot2) ++(0.2020725942,0) -- (0.2020725942,-0.35);%
endaxis
endtikzpicture
enddocument
to get:

Thanks a lot! I am confused: Why doesn't this work withdocumentclassstandalone?
– Dave
8 hours ago
1
@Dave instandaloneplease includeamsmath.
– Raaja
8 hours ago
add a comment |
One way is via this (note this uses a differnt function than yours). Your MWE is not wrong IMO. However, due to varying domains, your final axis is getting mixed-up.
Nevertheless, you can obtain your desired solution with a summation of two-exponents.
documentclassamsart
usepackagepgfplots
pgfplotssetcompat=newest
usepackagetikz
begindocument
begintikzpicture
beginaxis[
scaled ticks=false,
xmin=0,
xmax=1,
ymin=0,
ymax=1.2,
xlabel=x axis label,
ylabel=y axis label,
axis x line = bottom,
axis y line = left,
]
addplot[domain=0.2:1.2, samples=1000, red, ultra thick,smooth] (1-e^(-5*x)-exp(-10*x))*0.7;
addplot[no marks, samples=100, draw=black, thick] coordinates(0,0) (0.2020725942,0.35);%
draw[draw=black, dashed] (0,0.7) -- node[above] (y_texttot) ++(1,0.0);%
draw[draw=black, dashed] (0,0.35) -- node[above] (fracy_texttot2) ++(0.2020725942,0) -- (0.2020725942,-0.35);%
endaxis
endtikzpicture
enddocument
to get:

One way is via this (note this uses a differnt function than yours). Your MWE is not wrong IMO. However, due to varying domains, your final axis is getting mixed-up.
Nevertheless, you can obtain your desired solution with a summation of two-exponents.
documentclassamsart
usepackagepgfplots
pgfplotssetcompat=newest
usepackagetikz
begindocument
begintikzpicture
beginaxis[
scaled ticks=false,
xmin=0,
xmax=1,
ymin=0,
ymax=1.2,
xlabel=x axis label,
ylabel=y axis label,
axis x line = bottom,
axis y line = left,
]
addplot[domain=0.2:1.2, samples=1000, red, ultra thick,smooth] (1-e^(-5*x)-exp(-10*x))*0.7;
addplot[no marks, samples=100, draw=black, thick] coordinates(0,0) (0.2020725942,0.35);%
draw[draw=black, dashed] (0,0.7) -- node[above] (y_texttot) ++(1,0.0);%
draw[draw=black, dashed] (0,0.35) -- node[above] (fracy_texttot2) ++(0.2020725942,0) -- (0.2020725942,-0.35);%
endaxis
endtikzpicture
enddocument
to get:

answered 9 hours ago
RaajaRaaja
5,20921643
5,20921643
Thanks a lot! I am confused: Why doesn't this work withdocumentclassstandalone?
– Dave
8 hours ago
1
@Dave instandaloneplease includeamsmath.
– Raaja
8 hours ago
add a comment |
Thanks a lot! I am confused: Why doesn't this work withdocumentclassstandalone?
– Dave
8 hours ago
1
@Dave instandaloneplease includeamsmath.
– Raaja
8 hours ago
Thanks a lot! I am confused: Why doesn't this work with
documentclassstandalone?– Dave
8 hours ago
Thanks a lot! I am confused: Why doesn't this work with
documentclassstandalone?– Dave
8 hours ago
1
1
@Dave in
standalone please include amsmath.– Raaja
8 hours ago
@Dave in
standalone please include amsmath.– Raaja
8 hours ago
add a comment |
I would not find a function for that. A curve with exact starting angle (60°) and ending angle (180°) is enough here.
And also, why don't you simply use tan function in TikZ? 0.2020725942 ≈ 0.35 × tan(30°), but certainly if you type .35*tan(30) it is more accurate than 0.2020725942.
documentclass[tikz]standalone
begindocument
begintikzpicture[scale=8,>=stealth]
draw[<->] (1,0) -- (0,0) -- (0,.9);
draw[thick] (0,0) -- (.35*tan(30),0.35) coordinate (a);
draw[thick] (a) to[out=60,in=180] (0.8,0.7) -- (1,0.7);
foreach i in 0,0.2,0.4,0.6,0.8
draw (i,.01) -- (i,-.01) node[below] $i$;
draw (.01,i) -- (-.01,i) node[left] $i$;
draw (1,.01) -- (1,-.01) node[below] $1$;
draw[dashed] (0.8,0.7) -- (0,0.7) node[midway,above] $y_mathrmtot$;
draw[dashed] (.35*tan(30),0) -- (.35*tan(30),0.35);
draw[dashed] (.35*tan(30),0.35) -- (0,0.35) node[midway,above] $y_mathrmtot/2$;
endtikzpicture
enddocument

add a comment |
I would not find a function for that. A curve with exact starting angle (60°) and ending angle (180°) is enough here.
And also, why don't you simply use tan function in TikZ? 0.2020725942 ≈ 0.35 × tan(30°), but certainly if you type .35*tan(30) it is more accurate than 0.2020725942.
documentclass[tikz]standalone
begindocument
begintikzpicture[scale=8,>=stealth]
draw[<->] (1,0) -- (0,0) -- (0,.9);
draw[thick] (0,0) -- (.35*tan(30),0.35) coordinate (a);
draw[thick] (a) to[out=60,in=180] (0.8,0.7) -- (1,0.7);
foreach i in 0,0.2,0.4,0.6,0.8
draw (i,.01) -- (i,-.01) node[below] $i$;
draw (.01,i) -- (-.01,i) node[left] $i$;
draw (1,.01) -- (1,-.01) node[below] $1$;
draw[dashed] (0.8,0.7) -- (0,0.7) node[midway,above] $y_mathrmtot$;
draw[dashed] (.35*tan(30),0) -- (.35*tan(30),0.35);
draw[dashed] (.35*tan(30),0.35) -- (0,0.35) node[midway,above] $y_mathrmtot/2$;
endtikzpicture
enddocument

add a comment |
I would not find a function for that. A curve with exact starting angle (60°) and ending angle (180°) is enough here.
And also, why don't you simply use tan function in TikZ? 0.2020725942 ≈ 0.35 × tan(30°), but certainly if you type .35*tan(30) it is more accurate than 0.2020725942.
documentclass[tikz]standalone
begindocument
begintikzpicture[scale=8,>=stealth]
draw[<->] (1,0) -- (0,0) -- (0,.9);
draw[thick] (0,0) -- (.35*tan(30),0.35) coordinate (a);
draw[thick] (a) to[out=60,in=180] (0.8,0.7) -- (1,0.7);
foreach i in 0,0.2,0.4,0.6,0.8
draw (i,.01) -- (i,-.01) node[below] $i$;
draw (.01,i) -- (-.01,i) node[left] $i$;
draw (1,.01) -- (1,-.01) node[below] $1$;
draw[dashed] (0.8,0.7) -- (0,0.7) node[midway,above] $y_mathrmtot$;
draw[dashed] (.35*tan(30),0) -- (.35*tan(30),0.35);
draw[dashed] (.35*tan(30),0.35) -- (0,0.35) node[midway,above] $y_mathrmtot/2$;
endtikzpicture
enddocument

I would not find a function for that. A curve with exact starting angle (60°) and ending angle (180°) is enough here.
And also, why don't you simply use tan function in TikZ? 0.2020725942 ≈ 0.35 × tan(30°), but certainly if you type .35*tan(30) it is more accurate than 0.2020725942.
documentclass[tikz]standalone
begindocument
begintikzpicture[scale=8,>=stealth]
draw[<->] (1,0) -- (0,0) -- (0,.9);
draw[thick] (0,0) -- (.35*tan(30),0.35) coordinate (a);
draw[thick] (a) to[out=60,in=180] (0.8,0.7) -- (1,0.7);
foreach i in 0,0.2,0.4,0.6,0.8
draw (i,.01) -- (i,-.01) node[below] $i$;
draw (.01,i) -- (-.01,i) node[left] $i$;
draw (1,.01) -- (1,-.01) node[below] $1$;
draw[dashed] (0.8,0.7) -- (0,0.7) node[midway,above] $y_mathrmtot$;
draw[dashed] (.35*tan(30),0) -- (.35*tan(30),0.35);
draw[dashed] (.35*tan(30),0.35) -- (0,0.35) node[midway,above] $y_mathrmtot/2$;
endtikzpicture
enddocument

edited 5 hours ago
answered 8 hours ago
JouleVJouleV
10.2k22558
10.2k22558
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%2f482973%2fpgfplots-how-to-draw-exponential-graph-with-60-start-angle%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
3
This looks like a question of math not of tex/tikz : how should I choose
aandbinf(x) = a*exp(x)+bsuch thatf(0.2020725942)=0.35andf'(0.2020725942)=tan(pi/3)? If this is the case here is not the right place to ask this question.– Kpym
9 hours ago
@Kpym: I am sorry, the confusion came because of the mixed axis scalings. NOT because of the function...
– Dave
8 hours ago