Search found 1 match

by zmxm
Thu Dec 29, 2022 8:45 pm
Forum: Graphics, Figures & Tables
Topic: How to draw this figure using Tikz?
Replies: 1
Views: 1915

How to draw this figure using Tikz?

I am trying to draw a function $f(x)=(x-0.5)(\frac{x}{x-1})^(-0.5)-x$ using Tikz. I wrote the following code:

\begin{tikzpicture}[scale=0.7]
\draw[-stealth,ultra thick] (-0.5,0)--(9,0) node[below]{$x$};
\draw[-stealth,ultra thick] (0,-0.5)--(0, 4.5);
\draw[color=blue, thick, domain=0:2] plot ...