-1

enter image description herehow can I reproduce this picture with tikz please. I tried to export it from GeoGebra, but it doesn't satisfy me.

\begin{tikzpicture}
% Axes
\draw[->] (-1.5,0) -- (2.5,0);
\draw[->] (0,-1) -- (0,2);

% Axes labels \node[below] at (2.5,0) {$x$}; \node[left] at (0,2) {$y$};

% Fonction \draw[line width=1pt] plot[domain=-1.5:2.5,samples=50] function{x^2};

% Points \draw[red] (-1.5,2.25) -- (-1.5,0); \draw[red] (1.5,2.25) -- (1.5,0); \draw[red] (0,0) -- (0,2);

% Texte \node[red] at (-1.5,2.25) {$a$}; \node[red] at (1.5,2.25) {$a$}; \node[red] at (0,2) {$D$};

% Unité \draw[black,dashed] (-0.75,-0.2) -- (-0.75,0.2); \node[black] at (-0.75,0) {1};

\end{tikzpicture}

MS-SPO
  • 11,519
Fractal
  • 378
  • 1
    In the pgfmanual tikz.dev look for: \draw, \node, to[out=..,in=..] for a start. Once you have code to show, please post it here, so we can help. Also, there are similar drawings here. – MS-SPO Dec 07 '23 at 19:37
  • where can I find similar pictures ? Can you put the link here please ? – Fractal Dec 07 '23 at 20:25
  • 2
    You could look at this tutorial in the TikZ manual to get a basic knowledge about how to draw things with TikZ. For the curve, you could use the plot operator, but you could also just draw some curve if the curve doesn't need to be exact. – Jasper Habicht Dec 07 '23 at 21:10
  • 1
    @Fractal, please. use. this. checklist. and stop posting fragments today. https://tex.meta.stackexchange.com/a/10137/245790 Thank you – MS-SPO Dec 07 '23 at 21:22

1 Answers1

1

No answer, no solution, but a list of requested links.

The key is, to forget about "integration" and perceive more graphical elements, pathes at best (the Tikz-way).

You also may follow tags, like integral .

As Jasper pointed out, spend time on, and trials from and with, the pgfmanual ...

MS-SPO
  • 11,519