Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[10pt]{article}
- usepackage[paperwidth=8.5in,paperheight=11.0in, left=1.25in,right=1.25in,top=1.25in,bottom=1.25in, includefoot]{geometry}
- usepackage{graphicx}
- usepackage{float}
- usepackage{pgfplots}enter image description here
- usepgfplotslibrary{fillbetween}
- usepackage{tikz}
- usetikzlibrary{arrows.meta}
- usetikzlibrary{patterns}
- pgfplotsset{compat=1.12}
- begin{document}
- begin{figure}[H]
- begin{minipage}{linewidth}
- centering
- begin{tikzpicture}
- draw[thick, black, name path=rect1] (0,4) -- (0,0) -- (4,0);
- draw[thick, black, name path=rect2] (4,0) -- (12,0) -- (12,4) -- (0,4);
- draw[thick, black, name path=topo] (0,4) .. controls (2.5,2.5) and (1.5,0) .. (4,0);
- tikzfillbetween[of=rect1 and topo]{fill=gray,fill opacity=0.5,pattern=north east lines};
- end{tikzpicture}
- end{minipage}
- end{figure}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement