[Xy-pic] plotting a curve

Sven Hartrumpf Sven.Hartrumpf@FernUni-Hagen.de
Thu, 31 Oct 2002 11:59:15 +0100 (CET)


Hi all.

I am trying to plot a curve using xy-pic; the xyc.tex file is at the end
of this mail (also at: http://pi7.fernuni-hagen.de/hartrumpf/xyc.tex )

The result (http://pi7.fernuni-hagen.de/hartrumpf/xyc.pdf) is not perfect
yet:

- the curve does not stop were it should (returns somehow)
- the axes are not as long as expected
- I would like to shift the symbols on the axes a little bit.

Thanks in advance
Sven
--
Sven Hartrumpf
Computer Science VII
University of Hagen
58084 Hagen - Germany
http://pi7.fernuni-hagen.de/hartrumpf

------------------
\documentclass{article}
\usepackage[arrow,curve,frame,matrix]{xy} % for .pdf
\begin{document}
\begin{xy}
\crv{(0,0)*+{0}&(0,116)*+{Y}}
\crv{(0,0)*+{}&(20,0)*+{100}}
\crv~c{(0,0)&
(0.2,0.0)&
(0.4,0.30102999566398114)&
(0.6000000000000001,0.6989700043360187)&
(0.8,1.1760912590556811)&
(1.0,1.716003343634799)&
(1.2000000000000001,2.3074960379132125)&
(1.4000000000000001,2.9429995933660402)&
(1.6,3.6170003411208986)&
(1.8,4.325248765287537)&
(2.0,5.0643643811907965)&
(2.2,5.831594655305474)&
(2.4000000000000003,6.624652996140218)&
(2.6,7.441607749627147)&
(2.8000000000000002,8.280804385951645)&
(3.0,9.140809162070567)&
(3.2,10.020367173223952)&
(3.4000000000000003,10.918370452337351)&
(3.6,11.833833281713492)&
(3.8000000000000002,12.765872781951127)&
(4.0,13.713693431639218)&
(4.2,14.676574565679791)&
(4.4,15.653860165766323)&
(4.6000000000000005,16.644950438649853)&
(4.800000000000001,17.649294805658282)&
(5.0,18.666386018496716)&
(5.2,19.695755182945273)&
(5.4,20.73696752114417)&
(5.6000000000000005,21.789618739791904)&
(5.800000000000001,22.853331899269512)&
(6.0,23.927754699863662)&
(6.2,25.0125571175973)&
(6.4,26.107429334907521)&
(6.6000000000000005,27.21207992141886)&
(6.800000000000001,28.32623422799333)&
(7.0,29.44963296357463)&
(7.2,30.582030929440833)&
(7.4,31.723195889607406)&
(7.6000000000000005,32.8729075594861)&
(7.800000000000001,34.030956697662674)&
(8.0,35.19714428792954)&
(8.200000000000001,36.37128080059326)&
(8.4,37.553185523645915)&
(8.6,38.74268595570213)&
(8.8,39.93961725370763)&
(9.0,41.14382172935674)&
(9.200000000000001,42.35514838894609)&
(9.4,43.57345251206406)&
(9.600000000000001,44.798595265089325)&
(9.8,46.03044334596412)&
(10.0,47.268868657130774)&
(10.200000000000001,48.513748003885275)&
(10.4,49.76496281571766)&
(10.600000000000001,51.02239888848319)&
(10.8,52.28594614548706)&
(11.0,53.55549841577394)&
(11.200000000000001,54.830953228095886)&
(11.4,56.112211619192294)&
(11.600000000000001,57.39917795515644)&
(11.8,58.69175976478698)&
(12.0,59.98986758393277)&
(12.200000000000001,61.29341480993634)&
(12.4,62.60231756536727)&
(12.600000000000001,63.91649457031406)&
(12.8,65.23586702257032)&
(13.0,66.56035848511311)&
(13.200000000000001,67.88989478032506)&
(13.4,69.22440389046083)&
(13.600000000000001,70.56381586390266)&
(13.8,71.90806272678867)&
(14.0,73.25707839963337)&
(14.200000000000001,74.61079861859159)&
(14.4,75.96916086104618)&
(14.600000000000001,77.3321042752257)&
(14.8,78.69956961358214)&
(15.0,80.07149916968014)&
(15.200000000000001,81.44783671836866)&
(15.4,82.82852745902384)&
(15.600000000000001,84.21351796166787)&
(15.8,85.60275611578343)&
(16.0,86.99619108165665)&
(16.2,88.39377324409418)&
(16.400000000000002,89.79545416837054)&
(16.6,91.2011865582728)&
(16.8,92.61092421611892)&
(17.0,94.02462200463464)&
(17.2,95.44223581058179)&
(17.400000000000002,96.86372251003844)&
(17.6,98.28903993523784)&
(17.8,99.71814684287935)&
(18.0,101.15100288383036)&
(18.2,102.58756857414366)&
(18.400000000000002,104.02780526731908)&
(18.6,105.4716751277435)&
(18.8,106.91914110524699)&
(19.0,108.3701669107169)&
(19.200000000000002,109.82471699271527)&
(19.400000000000002,111.28275651504846)&
(19.6,112.74425133524087)&
(19.8,114.20916798386739)&
(20.0,115.67747364470223)}
\end{xy}
\end{document}