Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[pstricks,dvipsnames]{standalone}
- usepackage{pst-plot,filecontents,siunitx}
- begin{filecontents*}{test.data}
- 60 0
- 70 2
- 80 8
- 90 24
- 100 56
- 110 86
- 120 110
- 130 120
- end{filecontents*}
- newpsstyle{mygrid}
- {
- Dy=10,
- Dx=10,
- Ox=60,
- tickwidth=1.2pt,
- subticksize=1,
- xsubticks=5,
- ysubticks=5,
- subtickcolor=gray,
- subtickwidth=.8pt,
- xAxisLabel=huge Mass (si{gram}),
- xAxisLabelPos={c,-7},
- yAxisLabel=huge Cumulative Frequency,
- yAxisLabelPos={-6,c},
- llx=-2,
- lly=-2,
- urx=1,
- ury=1,
- }
- readdata{mydata}{test.data}
- begin{document}
- begin{psgraph}[style=mygrid,xticksize=0 120,yticksize=0 70](60,0)(130,120){12.5cm}{20cm}
- listplot[plotstyle=cspline,linecolor=black,linewidth=2.4pt,showpoints]{mydata}
- end{psgraph}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement