Skip to content
Prev 5922 / 398506 Next

LaTeX \varrho

Thanks to Prof. Ripley for the hint, maybe someone other is interested, so
I will shortly outline what "to use pstricks with LaTeX" means:

* get PSfrag	(e.g. www.dante.de)
* get graphics	(same url)
* create your ps-graphic in R and define "tags" e.g.
	
	postscript("myfile.ps")
	plot(..., xlab="rho", ylab="wrho")
	dev.off()
	system("ps2epsi myfile.ps")

* add 
	\usepackage{graphics}
	\usepackage{psfrag}

	to your LaTeX-File

* and now we reach the climax:

	\begin{figure}
	\begin{center}
	\psfrag{rho}{$\varrho$}		<-- this replaces rho with \varrho
	\psfrag{wrho}{$W(\varrho)$}	<-- this replaces wrho with W(\varrho)
	\includegraphics{myfile.epsi}
	\caption{wonderful R plotting \label{fig}}
	\end{center}
	\end{figure}

* run latex and dvips and enjoy :-)

Torsten
 


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._