Drawing a function without knowing its definitionTikz: Drawing tangent to S-shaped (logistic) functionTikZ:...

Does human life have innate value over that of other animals?

Is it illegal to infringe copyright if your boss or your client ordered you to do it?

What have we got?

Is the "hot network questions" element on Stack Overflow a dark pattern?

Why, in A Midsummer Night's Dream, does "square" mean "quarrel"?

Can you recognize a low private exponent from a public key?

Hands-Free Methods of Firing Arrows for Flying Soldiers

Is there a technology capable of disabling the whole of Earth's satellitle network?

As per hinduism, does life span of human depends on his respiratory breaths?

Are all aperiodic systems chaotic?

Are there any rules or guidelines about the order of saving throws?

Taking an academic pseudonym?

Why did Tywin never remarry?

Coworker is trying to get me to sign his petition to run for office. How to decline politely?

If you're falling because of ball bearings, do you automatically land on caltrops in the same space?

"Cheaper by the dozen" phrase origin?

Who, if anyone, was the first astronaut to return to earth in a different vessel?

Centering, linebreaks and raggedright in underbrace text in mathmode

Is 'bad luck' with former employees a red flag?

The Hilbert symbols of quaternion algebras over a totally real field

What happens to someone who dies before their clone has matured?

Why do climate experts from the UN/IPCC never mention Grand Solar Minimum?

Why don't the fuse connections in programmable ROM cause the whole matrix to be shorted together?

Does a star need to be inside a galaxy?



Drawing a function without knowing its definition


Tikz: Drawing tangent to S-shaped (logistic) functionTikZ: Thales circle, radius unknownBasic skills needed to draw simple functions like polynomials, trigonometry, exponential, logarithm, etcMacros/encapsulation in TIKZDrawing a torso with a head (using draw)Text along a Peano Curve in LaTeX for cover pagetikz/pgf low-level path drawing from list of coordinates and aestheticsDrawing a curve knowing its parametric equationsError in TikZ using defined coordinates with draw to [in= , out=] syntaxFill area of the spectral curve with CIE Chromaticity fading to generate a CIE Chromaticity Diagram in pgfplotsdrawing circles and squares with TikZ













6















I don't know tikz in depth. So I barely can play with it. The following is a transfer characteristic of an inverter gate. I have researched the internet to find the function's explicit definition but in vain.



I am trying to draw the curve, without knowing the definition. Yet there is one requirement: the slope at two points of the curve is -1.



transfer_func



I would be so happy of any help.










share|improve this question




















  • 1





    You can draw a set of connected curves. With in and out in TikZ, the slope = -1 is easy to achieve.

    – JouleV
    8 hours ago











  • Can you refer me examples of how it's used? It is foreign to me.

    – mandresybilly
    8 hours ago











  • @JouleV On this handout I found a way to draw a function by specifying discrete points and let PGF/Tikz draw the rest. Yet, I don't know in and out. Coud you please help me on this? Thanks in advance.

    – mandresybilly
    7 hours ago











  • do you have any more information about the function? this would probably help others in answering your question, i.e. finding the composite curve equation. I am far from being an expert, but I believe, without the equation, you might be better off drawing the curve in e.g. inkscape and then including it in your LaTeX document. Do you have any code to show that shows what you have tried, yet?

    – thymaro
    7 hours ago






  • 1





    oh ok, then the presenter should have the equation, I hope. For general information on how to use tikz, I recommend youtube tutorials and/or texample.net/tikz/examples

    – thymaro
    7 hours ago
















6















I don't know tikz in depth. So I barely can play with it. The following is a transfer characteristic of an inverter gate. I have researched the internet to find the function's explicit definition but in vain.



I am trying to draw the curve, without knowing the definition. Yet there is one requirement: the slope at two points of the curve is -1.



transfer_func



I would be so happy of any help.










share|improve this question




















  • 1





    You can draw a set of connected curves. With in and out in TikZ, the slope = -1 is easy to achieve.

    – JouleV
    8 hours ago











  • Can you refer me examples of how it's used? It is foreign to me.

    – mandresybilly
    8 hours ago











  • @JouleV On this handout I found a way to draw a function by specifying discrete points and let PGF/Tikz draw the rest. Yet, I don't know in and out. Coud you please help me on this? Thanks in advance.

    – mandresybilly
    7 hours ago











  • do you have any more information about the function? this would probably help others in answering your question, i.e. finding the composite curve equation. I am far from being an expert, but I believe, without the equation, you might be better off drawing the curve in e.g. inkscape and then including it in your LaTeX document. Do you have any code to show that shows what you have tried, yet?

    – thymaro
    7 hours ago






  • 1





    oh ok, then the presenter should have the equation, I hope. For general information on how to use tikz, I recommend youtube tutorials and/or texample.net/tikz/examples

    – thymaro
    7 hours ago














6












6








6


1






I don't know tikz in depth. So I barely can play with it. The following is a transfer characteristic of an inverter gate. I have researched the internet to find the function's explicit definition but in vain.



I am trying to draw the curve, without knowing the definition. Yet there is one requirement: the slope at two points of the curve is -1.



transfer_func



I would be so happy of any help.










share|improve this question
















I don't know tikz in depth. So I barely can play with it. The following is a transfer characteristic of an inverter gate. I have researched the internet to find the function's explicit definition but in vain.



I am trying to draw the curve, without knowing the definition. Yet there is one requirement: the slope at two points of the curve is -1.



transfer_func



I would be so happy of any help.







tikz-pgf graphics draw tikz-graphdrawing engineering






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 7 hours ago







mandresybilly

















asked 9 hours ago









mandresybillymandresybilly

14312




14312








  • 1





    You can draw a set of connected curves. With in and out in TikZ, the slope = -1 is easy to achieve.

    – JouleV
    8 hours ago











  • Can you refer me examples of how it's used? It is foreign to me.

    – mandresybilly
    8 hours ago











  • @JouleV On this handout I found a way to draw a function by specifying discrete points and let PGF/Tikz draw the rest. Yet, I don't know in and out. Coud you please help me on this? Thanks in advance.

    – mandresybilly
    7 hours ago











  • do you have any more information about the function? this would probably help others in answering your question, i.e. finding the composite curve equation. I am far from being an expert, but I believe, without the equation, you might be better off drawing the curve in e.g. inkscape and then including it in your LaTeX document. Do you have any code to show that shows what you have tried, yet?

    – thymaro
    7 hours ago






  • 1





    oh ok, then the presenter should have the equation, I hope. For general information on how to use tikz, I recommend youtube tutorials and/or texample.net/tikz/examples

    – thymaro
    7 hours ago














  • 1





    You can draw a set of connected curves. With in and out in TikZ, the slope = -1 is easy to achieve.

    – JouleV
    8 hours ago











  • Can you refer me examples of how it's used? It is foreign to me.

    – mandresybilly
    8 hours ago











  • @JouleV On this handout I found a way to draw a function by specifying discrete points and let PGF/Tikz draw the rest. Yet, I don't know in and out. Coud you please help me on this? Thanks in advance.

    – mandresybilly
    7 hours ago











  • do you have any more information about the function? this would probably help others in answering your question, i.e. finding the composite curve equation. I am far from being an expert, but I believe, without the equation, you might be better off drawing the curve in e.g. inkscape and then including it in your LaTeX document. Do you have any code to show that shows what you have tried, yet?

    – thymaro
    7 hours ago






  • 1





    oh ok, then the presenter should have the equation, I hope. For general information on how to use tikz, I recommend youtube tutorials and/or texample.net/tikz/examples

    – thymaro
    7 hours ago








1




1





You can draw a set of connected curves. With in and out in TikZ, the slope = -1 is easy to achieve.

– JouleV
8 hours ago





You can draw a set of connected curves. With in and out in TikZ, the slope = -1 is easy to achieve.

– JouleV
8 hours ago













Can you refer me examples of how it's used? It is foreign to me.

– mandresybilly
8 hours ago





Can you refer me examples of how it's used? It is foreign to me.

– mandresybilly
8 hours ago













@JouleV On this handout I found a way to draw a function by specifying discrete points and let PGF/Tikz draw the rest. Yet, I don't know in and out. Coud you please help me on this? Thanks in advance.

– mandresybilly
7 hours ago





@JouleV On this handout I found a way to draw a function by specifying discrete points and let PGF/Tikz draw the rest. Yet, I don't know in and out. Coud you please help me on this? Thanks in advance.

– mandresybilly
7 hours ago













do you have any more information about the function? this would probably help others in answering your question, i.e. finding the composite curve equation. I am far from being an expert, but I believe, without the equation, you might be better off drawing the curve in e.g. inkscape and then including it in your LaTeX document. Do you have any code to show that shows what you have tried, yet?

– thymaro
7 hours ago





do you have any more information about the function? this would probably help others in answering your question, i.e. finding the composite curve equation. I am far from being an expert, but I believe, without the equation, you might be better off drawing the curve in e.g. inkscape and then including it in your LaTeX document. Do you have any code to show that shows what you have tried, yet?

– thymaro
7 hours ago




1




1





oh ok, then the presenter should have the equation, I hope. For general information on how to use tikz, I recommend youtube tutorials and/or texample.net/tikz/examples

– thymaro
7 hours ago





oh ok, then the presenter should have the equation, I hope. For general information on how to use tikz, I recommend youtube tutorials and/or texample.net/tikz/examples

– thymaro
7 hours ago










1 Answer
1






active

oldest

votes


















10














Something like this?



documentclass[tikz,margin=3mm]{standalone}
usepackage{mathptmx}
begin{document}
begin{tikzpicture}
defslope (#1,#2); {
draw(#1-0.4,#2+0.4)--(#1+0.4,#2-0.4);
draw (#1,#2) node[above right] {Slope $=-1$};
}
draw[-latex] (0,0) node[below left] {0}--(0,6) node[left] {$v_O$};
draw[-latex] (0,0)--(6,0) node[below] {$v_I$};
draw[dashed] (0,5) node[left] {$V_{OH}$}--(1.5,5)--(1.5,0) node[below] {$V_{IL}$};
draw[dashed] (0,2.5) node[left] {$V_M$}--(2.5,2.5)--(2.5,0) node[below] {$V_M$};
draw[dashed] (0,0.5) node[left] {$V_{OL}$}--(5,0.5)--(5,0) node[below] {$V_{OH}$};
draw (0.5,0) node[below] {$V_{OL}$}--(0.5,.1);
draw[dashed] (3.5,0) node[below] {$V_{IH}$}--(3.5,1);
draw[very thick,cyan] (5.5,.5)--(5,.5) to[out=180,in=-45] (3.5,1) to[out=135,in=-70] (2.5,2.5);
draw[very thick,cyan] (0,5)--(1.4,5) to[out=0,in=135] (1.6,4.9) to[out=-45,in=110] (2.5,2.5);
slope (1.5,5);
slope (3.5,1);
draw (0,0)--(4,4) node[above right] {Slope $=$ 1};
end{tikzpicture}
end{document}


enter image description here



It is not really a replicate of your figure, but I think it is close enough.






share|improve this answer





















  • 2





    You're so great. You were faster than me. I will spend the rest of the afternoon trying to reproduce and understand the lines of your code.

    – mandresybilly
    5 hours 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%2f475602%2fdrawing-a-function-without-knowing-its-definition%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









10














Something like this?



documentclass[tikz,margin=3mm]{standalone}
usepackage{mathptmx}
begin{document}
begin{tikzpicture}
defslope (#1,#2); {
draw(#1-0.4,#2+0.4)--(#1+0.4,#2-0.4);
draw (#1,#2) node[above right] {Slope $=-1$};
}
draw[-latex] (0,0) node[below left] {0}--(0,6) node[left] {$v_O$};
draw[-latex] (0,0)--(6,0) node[below] {$v_I$};
draw[dashed] (0,5) node[left] {$V_{OH}$}--(1.5,5)--(1.5,0) node[below] {$V_{IL}$};
draw[dashed] (0,2.5) node[left] {$V_M$}--(2.5,2.5)--(2.5,0) node[below] {$V_M$};
draw[dashed] (0,0.5) node[left] {$V_{OL}$}--(5,0.5)--(5,0) node[below] {$V_{OH}$};
draw (0.5,0) node[below] {$V_{OL}$}--(0.5,.1);
draw[dashed] (3.5,0) node[below] {$V_{IH}$}--(3.5,1);
draw[very thick,cyan] (5.5,.5)--(5,.5) to[out=180,in=-45] (3.5,1) to[out=135,in=-70] (2.5,2.5);
draw[very thick,cyan] (0,5)--(1.4,5) to[out=0,in=135] (1.6,4.9) to[out=-45,in=110] (2.5,2.5);
slope (1.5,5);
slope (3.5,1);
draw (0,0)--(4,4) node[above right] {Slope $=$ 1};
end{tikzpicture}
end{document}


enter image description here



It is not really a replicate of your figure, but I think it is close enough.






share|improve this answer





















  • 2





    You're so great. You were faster than me. I will spend the rest of the afternoon trying to reproduce and understand the lines of your code.

    – mandresybilly
    5 hours ago
















10














Something like this?



documentclass[tikz,margin=3mm]{standalone}
usepackage{mathptmx}
begin{document}
begin{tikzpicture}
defslope (#1,#2); {
draw(#1-0.4,#2+0.4)--(#1+0.4,#2-0.4);
draw (#1,#2) node[above right] {Slope $=-1$};
}
draw[-latex] (0,0) node[below left] {0}--(0,6) node[left] {$v_O$};
draw[-latex] (0,0)--(6,0) node[below] {$v_I$};
draw[dashed] (0,5) node[left] {$V_{OH}$}--(1.5,5)--(1.5,0) node[below] {$V_{IL}$};
draw[dashed] (0,2.5) node[left] {$V_M$}--(2.5,2.5)--(2.5,0) node[below] {$V_M$};
draw[dashed] (0,0.5) node[left] {$V_{OL}$}--(5,0.5)--(5,0) node[below] {$V_{OH}$};
draw (0.5,0) node[below] {$V_{OL}$}--(0.5,.1);
draw[dashed] (3.5,0) node[below] {$V_{IH}$}--(3.5,1);
draw[very thick,cyan] (5.5,.5)--(5,.5) to[out=180,in=-45] (3.5,1) to[out=135,in=-70] (2.5,2.5);
draw[very thick,cyan] (0,5)--(1.4,5) to[out=0,in=135] (1.6,4.9) to[out=-45,in=110] (2.5,2.5);
slope (1.5,5);
slope (3.5,1);
draw (0,0)--(4,4) node[above right] {Slope $=$ 1};
end{tikzpicture}
end{document}


enter image description here



It is not really a replicate of your figure, but I think it is close enough.






share|improve this answer





















  • 2





    You're so great. You were faster than me. I will spend the rest of the afternoon trying to reproduce and understand the lines of your code.

    – mandresybilly
    5 hours ago














10












10








10







Something like this?



documentclass[tikz,margin=3mm]{standalone}
usepackage{mathptmx}
begin{document}
begin{tikzpicture}
defslope (#1,#2); {
draw(#1-0.4,#2+0.4)--(#1+0.4,#2-0.4);
draw (#1,#2) node[above right] {Slope $=-1$};
}
draw[-latex] (0,0) node[below left] {0}--(0,6) node[left] {$v_O$};
draw[-latex] (0,0)--(6,0) node[below] {$v_I$};
draw[dashed] (0,5) node[left] {$V_{OH}$}--(1.5,5)--(1.5,0) node[below] {$V_{IL}$};
draw[dashed] (0,2.5) node[left] {$V_M$}--(2.5,2.5)--(2.5,0) node[below] {$V_M$};
draw[dashed] (0,0.5) node[left] {$V_{OL}$}--(5,0.5)--(5,0) node[below] {$V_{OH}$};
draw (0.5,0) node[below] {$V_{OL}$}--(0.5,.1);
draw[dashed] (3.5,0) node[below] {$V_{IH}$}--(3.5,1);
draw[very thick,cyan] (5.5,.5)--(5,.5) to[out=180,in=-45] (3.5,1) to[out=135,in=-70] (2.5,2.5);
draw[very thick,cyan] (0,5)--(1.4,5) to[out=0,in=135] (1.6,4.9) to[out=-45,in=110] (2.5,2.5);
slope (1.5,5);
slope (3.5,1);
draw (0,0)--(4,4) node[above right] {Slope $=$ 1};
end{tikzpicture}
end{document}


enter image description here



It is not really a replicate of your figure, but I think it is close enough.






share|improve this answer















Something like this?



documentclass[tikz,margin=3mm]{standalone}
usepackage{mathptmx}
begin{document}
begin{tikzpicture}
defslope (#1,#2); {
draw(#1-0.4,#2+0.4)--(#1+0.4,#2-0.4);
draw (#1,#2) node[above right] {Slope $=-1$};
}
draw[-latex] (0,0) node[below left] {0}--(0,6) node[left] {$v_O$};
draw[-latex] (0,0)--(6,0) node[below] {$v_I$};
draw[dashed] (0,5) node[left] {$V_{OH}$}--(1.5,5)--(1.5,0) node[below] {$V_{IL}$};
draw[dashed] (0,2.5) node[left] {$V_M$}--(2.5,2.5)--(2.5,0) node[below] {$V_M$};
draw[dashed] (0,0.5) node[left] {$V_{OL}$}--(5,0.5)--(5,0) node[below] {$V_{OH}$};
draw (0.5,0) node[below] {$V_{OL}$}--(0.5,.1);
draw[dashed] (3.5,0) node[below] {$V_{IH}$}--(3.5,1);
draw[very thick,cyan] (5.5,.5)--(5,.5) to[out=180,in=-45] (3.5,1) to[out=135,in=-70] (2.5,2.5);
draw[very thick,cyan] (0,5)--(1.4,5) to[out=0,in=135] (1.6,4.9) to[out=-45,in=110] (2.5,2.5);
slope (1.5,5);
slope (3.5,1);
draw (0,0)--(4,4) node[above right] {Slope $=$ 1};
end{tikzpicture}
end{document}


enter image description here



It is not really a replicate of your figure, but I think it is close enough.







share|improve this answer














share|improve this answer



share|improve this answer








edited 5 hours ago

























answered 6 hours ago









JouleVJouleV

3,7371936




3,7371936








  • 2





    You're so great. You were faster than me. I will spend the rest of the afternoon trying to reproduce and understand the lines of your code.

    – mandresybilly
    5 hours ago














  • 2





    You're so great. You were faster than me. I will spend the rest of the afternoon trying to reproduce and understand the lines of your code.

    – mandresybilly
    5 hours ago








2




2





You're so great. You were faster than me. I will spend the rest of the afternoon trying to reproduce and understand the lines of your code.

– mandresybilly
5 hours ago





You're so great. You were faster than me. I will spend the rest of the afternoon trying to reproduce and understand the lines of your code.

– mandresybilly
5 hours 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%2f475602%2fdrawing-a-function-without-knowing-its-definition%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

ORA-01691 (unable to extend lob segment) even though my tablespace has AUTOEXTEND onORA-01692: unable to...

Always On Availability groups resolving state after failover - Remote harden of transaction...

Circunscripción electoral de Guipúzcoa Referencias Menú de navegaciónLas claves del sistema electoral en...