[R] barplots with pictex
faheem at email.unc.edu
Tue Feb 6 23:55:21 CET 2001
On Tue, 6 Feb 2001, Prof Brian D Ripley wrote:
> On Tue, 6 Feb 2001, Faheem Mitha wrote:
> > Dear R People,
> > I want to include a barplot corresponding to a simple discrete probability
> > distribution in a LaTeX document. I decided to use the pictex
> > driver. After a certain amount of messing about, I came up the stuff
> > below. It does not look too bad, however, there is one very obvious piece
> > of weirdness, ie. the y axis terminates at 0.1 and does not extend down
> > further. I tried to adjust this by changing ylim to c(-0.1,0.5) but then
> > the labelling -3, -2 ... moves further down. Can anyone suggest how to
> > correct this problem?
> Not so in my version (1.2.1, Solaris) with your code. What version are
> *you* using? This has been fixed a while ago (1.1.0, it looks like from
1.0.0 (I haven't used R since last May). Perhaps it is time to upgrade to
1.2.1. So this is/was a bug, then?
> > 2) Are there any obvious advantages to using pictex
> > instead of say eps?
> None if your dvixx can handle eps. The pictex driver has not been touched
> for a long time and has no font metric support, for example. These days
> you can use TeX fonts with postscript(), anyway.
Ok. I use dvips, so eps is no problem. Pictex makes tex work pretty
hard, and I don't have any documentation for it, so...
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