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

Adding span tags within wp_list_pages list items

"to be prejudice towards/against someone" vs "to be prejudiced against/towards someone"

How does strength of boric acid solution increase in presence of salicylic acid?

How is it possible to have an ability score that is less than 3?

Is it legal for company to use my work email to pretend I still work there?

Watching something be written to a file live with tail

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

Why do falling prices hurt debtors?

Why can't I see bouncing of a switch on an oscilloscope?

Can a Warlock become Neutral Good?

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

Test if tikzmark exists on same page

TGV timetables / schedules?

Can divisibility rules for digits be generalized to sum of digits

Email Account under attack (really) - anything I can do?

Is it important to consider tone, melody, and musical form while writing a song?

How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?

How to write a macro that is braces sensitive?

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

How can I make my BBEG immortal short of making them a Lich or Vampire?

Prove that NP is closed under karp reduction?

Either or Neither in sentence with another negative

What are these boxed doors outside store fronts in New York?

What would happen to a modern skyscraper if it rains micro blackholes?



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













4















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:



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?










share|improve this question

















  • 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
    Apr 3 at 12:23











  • @Kpym: I am sorry, the confusion came because of the mixed axis scalings. NOT because of the function...

    – Dave
    Apr 3 at 13:05















4















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:



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?










share|improve this question

















  • 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
    Apr 3 at 12:23











  • @Kpym: I am sorry, the confusion came because of the mixed axis scalings. NOT because of the function...

    – Dave
    Apr 3 at 13:05













4












4








4








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:



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?










share|improve this question














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:



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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 3 at 11:53









DaveDave

1,190619




1,190619







  • 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
    Apr 3 at 12:23











  • @Kpym: I am sorry, the confusion came because of the mixed axis scalings. NOT because of the function...

    – Dave
    Apr 3 at 13:05












  • 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
    Apr 3 at 12:23











  • @Kpym: I am sorry, the confusion came because of the mixed axis scalings. NOT because of the function...

    – Dave
    Apr 3 at 13:05







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
Apr 3 at 12:23





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
Apr 3 at 12:23













@Kpym: I am sorry, the confusion came because of the mixed axis scalings. NOT because of the function...

– Dave
Apr 3 at 13:05





@Kpym: I am sorry, the confusion came because of the mixed axis scalings. NOT because of the function...

– Dave
Apr 3 at 13:05










2 Answers
2






active

oldest

votes


















7














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:



enter image description here






share|improve this answer























  • Thanks a lot! I am confused: Why doesn't this work with documentclassstandalone?

    – Dave
    Apr 3 at 13:04






  • 1





    @Dave in standalone please include amsmath.

    – Raaja
    Apr 3 at 13:07


















7














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


enter image description here






share|improve this answer

























  • @Dave I think this is more of an apt answer.

    – Raaja
    2 days ago






  • 1





    @JouleV: Thanks a lot for your answer! Yes, I have plotted the line as a simple draw with start angle before posting my request. However, the previous line was too uniform - the Michaelis-Menten-kinetic should have a exponential arc instead of a uniform arc. :-( But your idea of posting lengths calculated by angles is just great! Thanks a lot!

    – Dave
    2 days ago











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%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









7














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:



enter image description here






share|improve this answer























  • Thanks a lot! I am confused: Why doesn't this work with documentclassstandalone?

    – Dave
    Apr 3 at 13:04






  • 1





    @Dave in standalone please include amsmath.

    – Raaja
    Apr 3 at 13:07















7














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:



enter image description here






share|improve this answer























  • Thanks a lot! I am confused: Why doesn't this work with documentclassstandalone?

    – Dave
    Apr 3 at 13:04






  • 1





    @Dave in standalone please include amsmath.

    – Raaja
    Apr 3 at 13:07













7












7








7







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:



enter image description here






share|improve this answer













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:



enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 3 at 12:22









RaajaRaaja

5,31421644




5,31421644












  • Thanks a lot! I am confused: Why doesn't this work with documentclassstandalone?

    – Dave
    Apr 3 at 13:04






  • 1





    @Dave in standalone please include amsmath.

    – Raaja
    Apr 3 at 13:07

















  • Thanks a lot! I am confused: Why doesn't this work with documentclassstandalone?

    – Dave
    Apr 3 at 13:04






  • 1





    @Dave in standalone please include amsmath.

    – Raaja
    Apr 3 at 13:07
















Thanks a lot! I am confused: Why doesn't this work with documentclassstandalone?

– Dave
Apr 3 at 13:04





Thanks a lot! I am confused: Why doesn't this work with documentclassstandalone?

– Dave
Apr 3 at 13:04




1




1





@Dave in standalone please include amsmath.

– Raaja
Apr 3 at 13:07





@Dave in standalone please include amsmath.

– Raaja
Apr 3 at 13:07











7














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


enter image description here






share|improve this answer

























  • @Dave I think this is more of an apt answer.

    – Raaja
    2 days ago






  • 1





    @JouleV: Thanks a lot for your answer! Yes, I have plotted the line as a simple draw with start angle before posting my request. However, the previous line was too uniform - the Michaelis-Menten-kinetic should have a exponential arc instead of a uniform arc. :-( But your idea of posting lengths calculated by angles is just great! Thanks a lot!

    – Dave
    2 days ago















7














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


enter image description here






share|improve this answer

























  • @Dave I think this is more of an apt answer.

    – Raaja
    2 days ago






  • 1





    @JouleV: Thanks a lot for your answer! Yes, I have plotted the line as a simple draw with start angle before posting my request. However, the previous line was too uniform - the Michaelis-Menten-kinetic should have a exponential arc instead of a uniform arc. :-( But your idea of posting lengths calculated by angles is just great! Thanks a lot!

    – Dave
    2 days ago













7












7








7







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


enter image description here






share|improve this answer















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


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 3 at 16:19

























answered Apr 3 at 13:23









JouleVJouleV

11.1k22560




11.1k22560












  • @Dave I think this is more of an apt answer.

    – Raaja
    2 days ago






  • 1





    @JouleV: Thanks a lot for your answer! Yes, I have plotted the line as a simple draw with start angle before posting my request. However, the previous line was too uniform - the Michaelis-Menten-kinetic should have a exponential arc instead of a uniform arc. :-( But your idea of posting lengths calculated by angles is just great! Thanks a lot!

    – Dave
    2 days ago

















  • @Dave I think this is more of an apt answer.

    – Raaja
    2 days ago






  • 1





    @JouleV: Thanks a lot for your answer! Yes, I have plotted the line as a simple draw with start angle before posting my request. However, the previous line was too uniform - the Michaelis-Menten-kinetic should have a exponential arc instead of a uniform arc. :-( But your idea of posting lengths calculated by angles is just great! Thanks a lot!

    – Dave
    2 days ago
















@Dave I think this is more of an apt answer.

– Raaja
2 days ago





@Dave I think this is more of an apt answer.

– Raaja
2 days ago




1




1





@JouleV: Thanks a lot for your answer! Yes, I have plotted the line as a simple draw with start angle before posting my request. However, the previous line was too uniform - the Michaelis-Menten-kinetic should have a exponential arc instead of a uniform arc. :-( But your idea of posting lengths calculated by angles is just great! Thanks a lot!

– Dave
2 days ago





@JouleV: Thanks a lot for your answer! Yes, I have plotted the line as a simple draw with start angle before posting my request. However, the previous line was too uniform - the Michaelis-Menten-kinetic should have a exponential arc instead of a uniform arc. :-( But your idea of posting lengths calculated by angles is just great! Thanks a lot!

– Dave
2 days ago

















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%2f482973%2fpgfplots-how-to-draw-exponential-graph-with-60-start-angle%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

How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

Why did Thanos need his ship to help him in the battle scene?Which actor plays Thanos in the Avengers mid-credits scene?Are there economic implications portrayed in comics where the buildings and cities are ruined almost daily?Old X-Men comic where team travels to alien world with a ring-like sun that needs recharging?Why does Ego need help sleeping?Is there an objective answer to who “the strongest Avenger” is?How did Banner get unstuck?Why did Thanos get hit?How did Thanos (or anyone) know the Infinity Stones would give him this power?Did Thanos leave Eitri alive for his after-sales service?In Avengers 1, why does Thanos need Loki?