[R] Re: R-plots with 'complex' axis-labelling

eac@ma.adfa.edu.au eac at ma.adfa.edu.au
Fri Mar 1 04:03:42 CET 2002


Try this sort of thing:

plot(..., xlab='vdot', ...)

and then, in the LaTeX document,

\usepackage{psfrag}
...
\begin{figure}
\psfrag{vdot}{$\dot{V}$}
\epsfig{...}
\end{figure}

Ted.

Dr E.A. Catchpole
 ----------------------------------
| Associate Professor              |      -----------------------------------
| School of Maths & Stats          |     |  Honorary Senior Research Fellow  |
| University College, UNSW         |     |  Institute of Maths & Stats       |
| Australian Defence Force Academy | and |  University of Kent at Canterbury |
| Canberra, ACT 2600, Australia    |     |  Canterbury CT2 7NF, England      |
| e-catchpole at adfa.edu.au          |     |  E.A.Catchpole at ukc.ac.uk          |
| www.ma.adfa.edu.au/~eac          |      -----------------------------------
| fax: +61 2 6268 8886		   |
 ----------------------------------

On Fri, 1 Mar 2002, R-help Digest wrote:

> Date: Thu, 28 Feb 2002 16:50:17 +0100
> From: Tobias Hoevekamp <tobias.hoevekamp at ilw.agrl.ethz.ch>
> Subject: [R] R-plots with 'complex' axis-labelling
>
> Hi there,
>
> I want to create plots with some kind of 'complex' axis labelling of the form
> $\dot{V}$ and integrate those plots into a LaTeX document. What is the best
> way to go?
>
> I've figured out, that the 'plotmath' commands are somewhat limited (at least
> I wasn't able to get the $\dot{V}$ generated) and that plots with
> 'plotmath'-axes wouldn't export properly with pictex() or xfig(). Therefore,
> I've done the following:
>
> o use postscript() to create myfig.eps
> o pstoedit -f fig myfig.eps myfig.fig
> o xfig 011214C.fig
>    include $\dot{V}$
>    export: Combined PS/LaTeX (both parts)
> o within my latex document:
>       \input{myfig.pstex_t}
>
> Is this a proper approach?
>
> I am looking forward to your response
>
>
>
> Tobias
>
> - --
> TOBIAS HOEVEKAMP
> mailto:tobias.hoevekamp at ilw.agrl.ethz.ch
> http://www.vt.ilw.agrl.ethz.ch/~hoevekam
> WORK: ETH Zurich, LFO E21, CH-8092 Zurich, +41 1 632 3304
> HOME: Anna Heer-Str. 2,  CH-8057  Zurich,  +41 1 350 5986

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list