[R-SIG-Mac] pdf graph is mirror image in 2.7.0 (alpha)

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Apr 7 08:08:40 CEST 2008


On Sun, 6 Apr 2008, William Revelle wrote:

> Dear R.Gui developers
>
> While testing out the wonderful graphics window in 2.7.0, I decided
> to see about saving a figure.
>
> (Save does not seem to be an option in 2.7.0)
>
> So,  I tried:
>>  quartz("test1",type="pdf")
>>  plot(1:5,1:5)
>>  dev.off()
> null device
>           1
>
> This leads to a figure that is the mirror image of the correct one.

Yes, that's known (and I have reported it to Simon).  There is code in 
place intended to do the flipping, and similar code works for type="png".
So we need someone who understands Quartz better than me to look at it.

>
> However, as in 2.6.2,
>>  pdf()
>>  plot(1:6,1:6)
>>  dev.off()
> creates a file that is correct.
>
>
>
> R version 2.7.0 alpha (2008-04-05 r45110)
> i386-apple-darwin8.10.1
>
> locale:
> en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> Thanks for all the great work
>
> Bill
>
>
> --
> William Revelle		http://personality-project.org/revelle.html
> Professor			http://personality-project.org/personality.html
> Department of Psychology             http://www.wcas.northwestern.edu/psych/
> Northwestern University	http://www.northwestern.edu/
> Use R for statistics:                          http://personality-project.org/r
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>

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



More information about the R-SIG-Mac mailing list