SHARE
TWEET

Untitled

a guest Jun 19th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass[margin=5pt]{standalone}
  2.  
  3. usepackage{tikz}
  4. usepackage{pgfplots}
  5.  
  6. begin{document}
  7.  
  8.     begin{tikzpicture}
  9.  
  10.         begin{axis}[
  11.             width=5in,
  12.             height=3in,
  13.             axis lines=middle,
  14.             scaled ticks=false,
  15.             xtick=empty,
  16.             xmin=0,
  17.             xmax=3,
  18.             extra x ticks={0,1,2,3},
  19.             extra x tick labels={low,high,med},
  20.         ]
  21.  
  22.         addplot [mark=*,draw] coordinates {(0.5,2) (1.5,4) (2.5,3)};
  23.  
  24.         end{axis}
  25.     end{tikzpicture}
  26.  
  27. end{document}
  28.      
  29. xticklabel style = {xshift=1.9cm,align=center},
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top