Created
April 18, 2017 11:32
-
-
Save mcnutty26/60862c8cfed6152b7464bc9efaa7bb81 to your computer and use it in GitHub Desktop.
Simple plot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[]{article} | |
\usepackage{pgfplots} | |
\begin{document} | |
\begin{tikzpicture} | |
\begin{axis}[ | |
title={Operational region using the constant range propagation model}, | |
xlabel={Speed (m/s)}, | |
ylabel={Distance (m)}, | |
xmin=20, xmax=210, | |
ymin=0, ymax=303, | |
xtick={20,40,60,80,100,120,140,160,180,200}, | |
ytick={0,40,80,120,160,200,240,280,320}, | |
legend pos=north west, | |
ymajorgrids=true, | |
grid style=dashed, | |
width = 0.5\columnwidth, | |
smooth | |
] | |
\addplot[ | |
color=blue, | |
mark=x, | |
] | |
coordinates { | |
(20,183)(30,195)(40,195)(50,183)(60,153)(70,147)(80,0)(90,195)(100,0)(110,0)(120,0)(130,195)(140,189)(150,0)(160,195)(170,111)(180,0)(190,0)(200,0)(210,0) | |
}; | |
\end{axis} | |
\end{tikzpicture} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment