Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \begin{figure}[ht]
- \centering
- \subfloat[Ideal Case]{
- \begin{tikzpicture}
- \pgfplotsset{
- every axis/.append style = {
- line width = 1pt,
- tick style = {line width=1pt}
- }
- }
- \begin{axis}[title={Extension - Force}, hide axis, xmin = 0, xmax = 10, ymin = 0, ymax = 6]
- \end{axis}
- \begin{axis}[%
- %xlabel={Compression [$\%$]},
- ylabel={Force [N]},
- hide x axis,
- axis y line*=left,
- xmin = 0,
- xmax = 10,
- xshift = -1cm,
- ytick = {0, 6},
- ymin = 0,
- ymax = 6
- ]
- \end{axis}
- \begin{axis}[%
- yshift = -0.5cm,
- hide y axis,
- axis x line*=bottom,
- xtick = {0, 10},
- xmin = 0,
- xmax = 10,
- ymin = 0,
- ymax = 6,
- xlabel = {Extension [mm]}
- ]
- \end{axis}
- \begin{axis}[hide axis, xmin=0, xmax=10, ymin=0, ymax = 6, smooth]
- \addplot[no marks, color=blue] table{
- x y
- 0 0
- 1 4.2
- 2 4.7
- 7.3 4.7
- 8.4 2.8
- 9 0.5
- 10 0.4
- };
- \end{axis}}
- \end{tikzpicture}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement