[pstricks] PSTricks Digest, Vol 119, Issue 7
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Thu Dec 13 16:18:12 CET 2012
Am 13.12.2012 14:57, schrieb Cyrille Piatecki:
> Here is what I mean
that is possible, but a lot work. Maybe that Buddy finds some time.
Herbert
>
> %
> \documentclass{article}
> \usepackage{pst-fit}
> \begin{filecontents}{linear.dat}
> 1 4
> 2 6
> 3 8
> 4 10
> 5 12
> 6 14
> 7 16
> 8 18
> 9 20
> 10 22
> \end{filecontents}
>
> \begin{document}
>
> \psset{xAxisLabel=x, %Setup for psgraph env
> yAxisLabel=y,
> xAxisLabelPos=,
> yAxisLabelPos=,
> lly=-1cm,llx=-1cm}
> \readdata{\Linear}{linear.dat}
> \begin{psgraph}[arrows=->,Dy=2](0,0)(0,0)(10,22){4.5in}{4.5in}
> \listplot[decimals=2,EqPos=3 2,plotstyle=GLLSR,linestyle=dashed]{\Linear}
> \listplot[plotstyle=dots,linecolor=red,dotscale=2,dotstyle=x]{\Linear}
> \rput(6,6){$\begin{array}{c}
> y = 2 +\ 2\, \, x\\
> \hspace{.35cm}(a)\hspace{.25cm}(a)\\
> R^2 = 1
>
> \end{array}$}
>
> \end{psgraph}
> \noindent where $a$ is either the p value --- significance level~---,
> the standard error or the student $t$
> \end{document}
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>
More information about the PSTricks
mailing list