I need that plot in latex

Where i can learn how to plot function like in books?

  • 1
    Welcome to TSE. What did you try? Commented Jan 3, 2022 at 9:37
  • i found this. but idk how to plot on x-axis a and b
    – Banderas
    Commented Jan 3, 2022 at 9:41
  • If you know the function you want to draw, you ca use the link you provided. If this just a rough sketch of an unknown function, you will have to draw it using TikZ commands. You can have a quick look at the manual.
    – SebGlav
    Commented Jan 3, 2022 at 10:08

1 Answer 1


One of the easiest way to plot something is to use GeoGebra software (as an example). You should download the app and then export it as in the following example: Need help to export tikz code from geogebra

Not the answer you're looking for? Browse other questions tagged .