[pstricks] labelsize/font in psaxes

Richard J. Cattien rc.foreign at gmx.net
Sat Feb 7 15:58:44 CET 2004


Hi,

On Sat, Feb 07, 2004 at 03:10:30PM +0100, Herbert Voss wrote:
> the easiesrt way is to use pstricks-add, available from the
> pstricks.de webpage. Use always pstcol instead of color,
> it has some modification for pstricks. I did some for changes
> to the code, have a look at it.
 
What is pstcol?

> \documentclass[12pt]{scrartcl}
> \usepackage{pst-plot}
> \usepackage{pstricks-add}
> 
> \begin{document}
> 
> \begin{pspicture}(-5,-5)(5,5)
>   \psaxes[xyLabel=\scriptsize]{->}(0,0)(-5,-5)(5,5)
>    \psgrid[griddots=10,subgriddiv=0,gridlabels=0pt,griddots=5](-5,-5)(5,5)
>   \psplot[plotstyle=curve,linecolor=red,linewidth=2pt]{-3}{3}{x 2 exp 4
> sub}
>   \psplot[plotstyle=curve,linecolor=blue,linewidth=2pt]{-1.71}{1.71}{x 
> 3 exp}
>   \uput[-90](4.8,0){$\mathbf{x}$}
>   \uput[0](0,4.8){$\mathbf{y}$}
>   \psset{framearc=0.5}

What is framearc? Sorry i'm still a beginner and not thourgh with the
complete pstricks ducumentation yet.

>   \rput[lb](1.5,-4){\psframebox{\red$f(x)=x^2-4$}}
>   \rput[lb](-4,-4){\psframebox{\blue$g(x)=x^3$}}

But is it possible to make the box itself also colored? I tried to put
the "\red" infront of \psframebox with no effort.

> \end{pspicture}
> 
> \end{document}

bye,
	richard

-- 
Richard Cattien,
PGP-Public-Key: http://cattien.org/richard/keys/rc_pubkey.asc



More information about the PSTricks mailing list