[pstricks] labelsize/font in psaxes
Richard J. Cattien
rc.foreign at gmx.net
Sat Feb 7 14:22:37 CET 2004
Hi,
my name is Richard and i'm from Munich/Germany and i'm new to this list
:-). And here's my first question:
How can i change the size and/or the font of the labels in psaxes? I've
read in http://www.perce.de/LaTeX/pst-plot/psaxes.pdf how to modify the
labelstyle for logarithmic axes, but not for normal axes.
A hint would be nice.
Here's my example:
===[snip]===
\documentclass[12pt]{scrartcl}
\usepackage{fancybox}
\usepackage{color}
\usepackage{pstricks,pst-plot}
\begin{document}
\begin{pspicture}(-5,-5)(5,5)
\psset{unit=1cm}
\psaxes{->}(0,0)(-5,-5)(5,5)
\psgrid[griddots=10,subgriddiv=0,gridlabels=0pt](-5,-5)(5,5)
\psplot[plotstyle=curve,linecolor=red]{-3}{3}{x 2 exp 4 sub}
\psplot[plotstyle=curve,linecolor=blue]{-1.71}{1.71}{x 3 exp}
\rput(-2.8,4){\colorbox{white}{\color{red}\ovalbox{$f(x)=x^2-4$}}}
\rput(1.6,4){\colorbox{white}{\color{blue}\ovalbox{$g(x)=x^3$}}}
\rput(4.8,-0.2){$\mathbf{x}$}
\rput(0.2,4.8){$\mathbf{y}$}
\end{pspicture}
\end{document}
===[snap]===
bye,
richard
--
Richard Cattien,
PGP-Public-Key: http://cattien.org/richard/keys/rc_pubkey.asc
More information about the PSTricks
mailing list