[pstricks] Re: Fwd: PSTricks problem with pst-func
Herbert Voss
LaTeX at zedat.fu-berlin.de
Thu Feb 9 14:07:17 CET 2006
> I'm writing to you, as to my last chance for solving my problem. If
I cannot remeber to read any mail from you to the
newsgroup or the PSTricks mailing list ...
> What is wrong? I use your package: pst-func. BTW, is it possible to
> change the font to standard CM?
read the documentation about valuewidth!
Herbert
\documentclass{article}
\usepackage{pst-func}
\def\parabola{x 2 exp 0.5 mul 1 add}%
\SpecialCoor%
\begin{document}
\begin{pspicture*}(-3,-1)(5.1,5.1)
\psaxes[ticksize=2pt,%
Dx=1, Dy=1, dx=1, dy=1,%
labels=none,%
linewidth=0.4pt%
]{c->}(0,0)(5,5)%
\uput[-90](5,-0.2){$x$}%
\uput[0](0,5){$y$}%
\rput[ct](1.05,-0.2){1.05}%
\rput[r](!-1.1 1.05 2 exp 0.5 mul 1
add){\psPrintValue[valuewidth=8]{1.05 2 exp}}% ***
\psline[linewidth=0.02, dash=0.1 0.1, linestyle=dashed](1.05,0)
(!1.05 1.05 2 exp 0.5 mul 1 add)%
\psline[linewidth=0.02, dash=0.1 0.1, linestyle=dashed](%
!0 1.05 2 exp 0.5 mul 1 add)(!1.05 1.05 2 exp 0.5 mul 1 add)%
\psplot[linewidth=1.5pt, linecolor=red]{0}{5}{\parabola}%
\end{pspicture*}
\end{document}
--
LaTeX und Perl in der ZEDAT: http://userpage.fu-berlin.de/~latex
More information about the PSTricks
mailing list