SHARE
TWEET

Untitled

a guest Jul 23rd, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass[border={1mm 1mm 1mm 1mm}]{standalone}
  2. usepackage{tikz}
  3. usetikzlibrary{patterns}
  4.  
  5. begin{document}
  6. begin{tikzpicture}[scale=0.6]
  7. draw[->] (-4.5,0) -- (1.5,0);
  8. draw[->] (0,-4.5) -- (0,4.5);
  9. foreach x in {-4,-3,-2,-1,0,1}
  10.     draw (x cm,1.5pt) -- (x cm,-1.5pt);
  11. foreach y in {-4,-3,-2,-1,0,1,2,3,4}
  12.     draw (1.5pt,y cm) -- (-1.5pt,y cm);
  13.     draw[thick,red,pattern=north east lines,pattern color=red] (-4,-4) -- (0,0)--(-4,4);
  14. draw[draw=none,red,pattern=north west lines,pattern color=blue] (0,0)--(-4,4) -- (4,4)--(4,-4)--(-4,-4)--(0,0);
  15. end{tikzpicture}
  16. end{document}
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