Re: [R] png and pdf : point size, font size, etc.

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed, 27 Feb 2008 16:07:07 +0000 (GMT)

Since bitmap() used postscript, you may as well use PDF and convert to PNG (and bitmap in R-devel uses this as an option).

I've no idea about the size differences, and we don't have a reproducible example. Again, R-devel offers many more options.

On Wed, 27 Feb 2008, Stephan Ripke wrote:

> Hi,
> I am new to this mailing list. Didn`t find the answer in the archives. But I
> guess, there are people out there, who know the solution:
> In an automatic script, I want to produce simple plots. First I prefer pdf,
> because of scalability and standardization. But when I have too many
> datapoints (say 300.000) the viewing and printing is very, very slow. So I
> decided to take some bitmapped format when passing 5.000 datapoints, because
> most of them are in one cloud. As a result, the png is nice and fast to
> handle and in Linux it is very easy to convert it to pdf with imagemagick.
> So far so good. The problem is, that the font size and the point-size of the
> plotpoints and the all of the plot is getting much smaller when using
> png-format. Why is this and how can I circumvent this issue?
> These are the two devices, I am opening for the two reasons:
>
> 1)
> pdf("name_out.pdf",11,3.5)
> 2)
> bitmap("name_out.png",height=3.5,width=11)
>
> all should be the same, isn`t it?
>
> Thanks in advance,
> Stephan
>
> --
> Dr. med. Stephan Ripke
> Stat.2 (Neurology)
> Max-Planck-Institute of Psychiatry
> AG Statistical Genetics
> Kraepelinstr. 10
> 80804 Munich - Germany
> Tel. +49 (0)89 30622-422 or -384
> Fax. +49 (0)89 30622-610
> Email: ripke_at_mpipsykl.mpg.de
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 27 Feb 2008 - 16:09:44 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 27 Feb 2008 - 17:30:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive