[pstricks] bell-shaped with pstricks

Vo Duc Hoang Vu vu at vnp.edu.vn
Tue Mar 13 21:33:13 CET 2007


Dear all,

Thank you for your code on mailing list of pstricks. I have copied the code 
and paste it into the editor as below:
----------------------------------------------------
\documentclass{report}
\usepackage{pstricks-add,pst-plot}
\begin{document}
\begin{pspicture}(8.5cm, 3.5cm)
\psset{xunit=10mm, yunit=60mm}
\psplot[linecolor=gray, plotstyle=curve]{1}{7}{x 4 1 GAUSS}
\pscustom[linecolor=gray, plotstyle=curve, fillstyle=hlines, 
hatchcolor=gray]{%
\psline(5.4,0)(5.4,0) \psplot[liftpen=1]{5.4}{7}{x 4 1 GAUSS}}
\psaxes[labels=none, ticks=x, ticksize=-1mm]{->}(4,0)(0,0)(8,.5)
\uput[0]{0}(8,0){$t$}
\uput[180]{0}(4,.5){$\frac{1}{\sqrt{2\pi}}\mathrm{e}^{-\frac{t^2}{2}}$}
\uput[270]{0}(5.4,0){$x$}
\uput[270]{0}(4,0){$0$}
\uput[270]{0}(5,0){$1$}
\uput[270]{0}(3,0){$-1$}
\end{pspicture}
\end{document}
-----------------------------------------------------------
and using a file, namely da.bat with the following content to generate the 
outcome, but it generates nothing.
 
da.bat
----------------------------
latex %1.tex
del %1.bm
del %1.aux
latex %1.tex
dvips.exe %1.dvi
C:\gs\gs8.50\bin\gswin32c.exe -sPAPERSIZE=a4 -dSAFER -dBATCH -dNOPAUSE 
-sDEVICE=pdfwrite -sOutputFile=%1.pdf -c save pop -f %1.ps
del %1.dvi
del %1.ps
del %1.out
del %1.not
del %1.aux
del %1.bm
del %1.toc
del %1.log
------------------------------------------
Could you suggest me what happends to this? Thank you.
 


--------------
Vietnam - Netherlands Programme for MA in Development Economics
<a href="http://www.vnp.edu.vn">http://www.vnp.edu.vn</a>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20070314/0b35c2de/attachment.html 


More information about the PSTricks mailing list