New answers tagged

3

You can give the ticks names via alias, and use these nodes to have the precise positions to draw the braces from outside (without dropping clip etc). It also makes sense to use styles for the repeating set of keys used for the braces. \documentclass[12pt,border=10pt]{standalone} \usepackage{pgfplots} \usetikzlibrary{decorations.pathreplacing} \pgfplotsset{...


2

If you want to use the axis cs for the braces, draw them inside the axis environment: \documentclass[12pt,border=10pt]{standalone} \usepackage{pgfplots}% loads tikz, pgf, ... \usetikzlibrary{decorations.pathreplacing} \pgfplotsset{compat=1.12}% current version would be 1.17 \begin{document} \begin{tikzpicture} \begin{axis}[title={},ylabel={\textbf{Task 2}}...


2

Since you are using calc anyway you could use it to measure the slope of the line from A to B and use this slope in a to[out=<slope>,in=-90] syntax to draw these curves. \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} % \usepackage[english,italian]{babel} % \usepackage{url,amsfonts} % \usepackage{amsmath} % \...


4

The small variation of OP answer (+1): \documentclass[12pt,oneside,english,reqno,a4paper]{article} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{chains, positioning, shadows, shapes.symbols} %---------------- show page layout. don't use in a real document! \usepackage{showframe} \renewcommand\...


6

Thanks to the comment of BambOo, I was able to do it myself. At first the code. It is just slighly a difference of the link above. \documentclass[12pt,oneside,english,reqno,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{shapes} \usetikzlibrary{chains,positioning,shapes.symbols,fadings,shadows, ...


Top 50 recent answers are included