\documentclass[tikz, border=2pt]{standalone} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{fourier} \usepackage{tikz} \usetikzlibrary{circuits} \usetikzlibrary{circuits.pid.ISO14617} \usetikzlibrary{positioning,calc} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \begin{document} \begin{tikzpicture} \begin{axis}[ xlabel=$x$, ylabel={$f(x) = x^2 - x +4$} ] % use TeX as calculator: \addplot {x^2 - x +4}; \end{axis} \end{tikzpicture} \end{document}