Re: [R] Change font type PNG device with Lattice xyplot

2009-04-28 Thread Paul Murrell
Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 p...@stat.auckland.ac.nz http://www.stat.auckland.ac.nz/~paul/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] savePlot error when type = eps or wmf

2009-04-20 Thread Paul Murrell
height so the calculation is floundering. We need to see the code that did the drawing to tell you more. Paul -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 p...@stat.auckland.ac.nz http://www.stat.auckland.ac.nz

Re: [R] Multiple Hexbinplots in 2 columns with a Single Categorical Variable

2009-04-10 Thread Paul Murrell
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 p...@stat.auckland.ac.nz http://www.stat.auckland.ac.nz/~paul

Re: [R] does grid.rect() not accept NULL argument from gpar(col=NULL) ?

2009-04-08 Thread Paul Murrell
://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. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599

Re: [R] lattice different colors in different areas

2009-04-05 Thread Paul Murrell
/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. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 p

Re: [R] unicode only works with a second one

2009-04-05 Thread Paul Murrell
fonts so far. Thomas -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 p...@stat.auckland.ac.nz http://www.stat.auckland.ac.nz/~paul/ __ R-help@r-project.org mailing list https

Re: [R] viewport bug in 2.8.0?: Error: Cannot pop the top-level viewport (grid and graphics output mixed?)

2009-03-31 Thread Paul Murrell
code. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 p...@stat.auckland.ac.nz http://www.stat.auckland.ac.nz/~paul/ __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] unicode only works with a second one

2009-03-31 Thread Paul Murrell
and provide commented, minimal, self-contained, reproducible code. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 p...@stat.auckland.ac.nz http://www.stat.auckland.ac.nz/~paul

Re: [R] ggplot2-geom_text()

2009-03-30 Thread Paul Murrell
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 p...@stat.auckland.ac.nz http://www.stat.auckland.ac.nz/~paul

Re: [R] R package to automatically produce combination plot?

2009-03-17 Thread Paul Murrell
://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. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599

Re: [R] R package to automatically produce combination plot?

2009-03-17 Thread Paul Murrell
, Paul Murrell p.murr...@auckland.ac.nz wrote: From: Paul Murrell p.murr...@auckland.ac.nz Subject: Re: [R] R package to automatically produce combination plot? To: jasonkrup...@yahoo.com Cc: R-help@r-project.org Date: Tuesday, March 17, 2009, 2:51 PM Hi Jason Rupert wrote: I guess

Re: [R] Centering multi-line strip text in lattice

2009-03-11 Thread Paul Murrell
=on)) grid.text(factor.levels[which.panel], gp=gpar(cex=.75, lineheight=1)) popViewport() } ) Paul -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 p...@stat.auckland.ac.nz

Re: [R] Trouble with gridBase and inset plots

2008-12-08 Thread Paul Murrell
() __ R-help@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. -- Dr Paul Murrell

Re: [R] xspline, graphical parameters and MAXNUMPTS

2008-12-07 Thread Paul Murrell
]] __ R-help@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. -- Dr Paul Murrell Department of Statistics The University

Re: [R] Symbols to use in text

2008-11-16 Thread Paul Murrell
Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] How to create margin area around a graphic made by xyplot

2008-11-04 Thread Paul Murrell
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul

Re: [R] ggplot 2 - editing in the panel_1_1 viewport

2008-10-09 Thread Paul Murrell
a cellGrob that you do not know the *exact* name for. Paul Thanks a lot for the great package, BTW! Pedro Paul Murrell wrote: Hi Pedro Barros wrote: Hi All, I am trying to find out how to access the components of a ggplot plot, and I found this reply from Paul Murrel http

Re: [R] How to mix different font styles in axis label of lattice plot?

2008-10-05 Thread Paul Murrell
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul

Re: [R] ggplot 2 - editing in the panel_1_1 viewport

2008-09-30 Thread Paul Murrell
of the naming scheme, e.g., for ggplot2, Hadley's http://had.co.nz/ggplot2/book/grid.pdf Paul Thanks, Pedro -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul

Re: [R] example - export a data frame to an XML file

2008-09-29 Thread Paul Murrell
-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. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag

Re: [R] PDF fonts problem

2008-09-21 Thread Paul Murrell
Hi Mihalicza Péter wrote: Dear Dr. Murrel, Thank you for all the clarifications! Paul Murrell írta: Hi #CMS pdf(tryfont-cms.pdf, family=CMS) grid.text(gg\u151hh\uF6ii\uF3jj kk\u171ll\uFCmm\uFAnn) dev.off() #u151 and u171 doesn't show, though the other accented ones do embedFonts

Re: [R] PDF fonts problem

2008-09-18 Thread Paul Murrell
a namespace (and not attached): [1] cluster_1.11.11 lattice_0.17-13 Thank you, Peter -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul

Re: [R] Making use of names of viewports (grid)

2008-08-17 Thread Paul Murrell
like vpL - c(vpL, cube.k) sort of thing that I could do with a vector. It's even less clear how I could make use of vpStack or vpTree. What is a smarter way to get back to those upper viewports? Don't pop them ? (use upViewport() instead) Paul -- Dr Paul Murrell Department of Statistics

Re: [R] separate maps in one figure

2008-08-12 Thread Paul Murrell
with the placement of the three plot regions just using par(fig), but the problems caused by map()s manipulation of par() are then much harder to work around. Hope that helps. Paul -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392

Re: [R] gridBase and new.page() / grid.newpage()

2008-08-10 Thread Paul Murrell
() __ R-help@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. -- Dr Paul Murrell Department

Re: [R] grid layout scaling viewport width based solely on height

2008-08-10 Thread Paul Murrell
Hi Peter Cowan wrote: Paul, On Wed, Aug 6, 2008 at 1:40 PM, Paul Murrell [EMAIL PROTECTED] wrote: I'm trying to write a function that produces a main plotting region with several square plots along the right side. Ideally the size of right side plots will scale only with the height

Re: [R] gridBase and new.page() / grid.newpage()

2008-08-10 Thread Paul Murrell
= c(0, 1), layout.pos.col = 1)) grid.rect(gp=gpar(fill=grey)) grid.points() upViewport() upViewport() } myplot(Aplot) myplot(Aplot) pdf() myplot(Aplot) myplot(Aplot) dev.off() On Sun, Aug 10, 2008 at 1:48 PM, Paul Murrell [EMAIL PROTECTED] wrote: Hi Peter Cowan

Re: [R] grid layout scaling viewport width based solely on height

2008-08-06 Thread Paul Murrell
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul

Re: [R] Are there any guis out there, which will allow editing of the graph?

2008-08-06 Thread Paul Murrell
://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. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599

Re: [R] TeachingDemos question: my.symbols() alignment problems in complicated layout

2008-07-20 Thread Paul Murrell
Hi [EMAIL PROTECTED] wrote: Hello, After usefull suggestions by Paul Murrell, i have been trying to use my.symbols to plot arrows of varying angles on my plot in order to create a time series of wind direction... however,i have been unable to figure out how the allignment of symbols works

Re: [R] Backgrounds in Multiple Plots made with fig

2008-07-06 Thread Paul Murrell
() par(op) Paul Tom -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul/ __ R-help@r-project.org mailing

Re: [R] Layout() coordinates and drawing lines / segments

2008-06-26 Thread Paul Murrell
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http

Re: [R] Insert raster image into an R graphic

2008-06-18 Thread Paul Murrell
__ R-help@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. -- Dr Paul Murrell Department

Re: [R] sizing non-vector point shapes in ggplot2

2008-06-16 Thread Paul Murrell
, y, size=unit(size, mm), pch=shape, gp=gpar(col=colour, fill = fill, fontsize = size * .pt))) ) } Hadley -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http

Re: [R] Limiting size of pairs plots

2008-06-12 Thread Paul Murrell
. __ R-help@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. -- Dr Paul Murrell Department

Re: [R] Problem when combining dotplot() and textplot() using grid

2008-06-11 Thread Paul Murrell
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http

Re: [R] transforming output of grid.locator() to coordinates of a leaf viewport

2008-06-02 Thread Paul Murrell
response by Paul Murrell to a post by Gabor Grothendieck roughly on this topic in which Paul suggested looking at trellis.focus(). I've looked at trellis.focus() and trellis.clickFocus(), but they don't appear to do what I want in that a) it would appear that my user would have to click twice

Re: [R] Not to draw the xaxis ticks in ggplot2

2008-05-11 Thread Paul Murrell
ggplot2 customisation to do list. Thanks, Hadley -- http://had.co.nz/ -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul

Re: [R] plotting pie-charts into a coordinate system

2008-05-04 Thread Paul Murrell
, reproducible code. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul/ __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Error in downViewport.vpPath(vpPathDirect(name)

2008-05-04 Thread Paul Murrell
://www.nabble.com/file/p17017801/dend4c.txt dend4c.txt http://www.nabble.com/file/p17017801/gL2.csv gL2.csv -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul

Re: [R] Error in downViewport.vpPath(vpPathDirect(name)

2008-05-04 Thread Paul Murrell
Hi Paul Murrell wrote: Hi Andrewjohnclose wrote: Hi, I am having trouble plotting a series of dendrograms using lattice and grid code as found in Paul Murrells book R Graphics. This is the error message I recieve: Error in downViewport.vpPath(vpPathDirect(name), strict, recording

Re: [R] diagonally fill a rectangle with color gradient

2008-04-08 Thread Paul Murrell
, fill=colorRampPalette(c(blue, green), space=Lab)(100))) Paul -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul

Re: [R] grid.layout?

2008-03-04 Thread Paul Murrell
), y = ylab.pos[i], default.units = npc, just=right) } Suggestions about the more intelligent use of pushViewport and popViewport would also be appreciated. Thank you. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019

Re: [R] Make plots with GNUplot. Have anyone tried that?

2008-03-02 Thread Paul Murrell
. __ R-help@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. -- Dr Paul Murrell Department of Statistics The University

Re: [R] insert vector image into a plot

2008-03-02 Thread Paul Murrell
-contained, reproducible code. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul/ __ R-help@r-project.org mailing list

Re: [R] navigating ggplot viewports

2008-01-23 Thread Paul Murrell
__ R-help@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. -- Dr Paul Murrell Department of Statistics

Re: [R] Set the grid.layout programmatically?

2007-12-10 Thread Paul Murrell
Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Displaying R, N, Z-symbols with expression

2007-11-22 Thread Paul Murrell
to install the Hershey fonts; they come as part of R. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul/ __ R-help@r

Re: [R] strwidth of bold font

2007-10-31 Thread Paul Murrell
. __ R-help@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. -- Dr Paul Murrell Department of Statistics

Re: [R] pdf() device uses fonts to represent points - data alteration?

2007-10-31 Thread Paul Murrell
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. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland

Re: [R] Rotated viewports in Grid

2007-10-24 Thread Paul Murrell
the warning message here. -- -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul

Re: [R] How can I obtain a boxed sweave output within Latex?

2007-10-11 Thread Paul Murrell
. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Plotmath integral gets horrible with URWPalladio

2007-10-03 Thread Paul Murrell
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED

Re: [R] clipping viewports

2007-10-01 Thread Paul Murrell
/ __ R-help@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. -- Dr Paul Murrell Department

Re: [R] sprucing up the R homepage

2007-09-27 Thread Paul Murrell
nicer. Thanks guys! Before we update the homepage, we should probably just check with the original artist (Eric Lecoutre, cc'ed) and we would need a description of the final technique you used to add as a comment to the code behind the image. Paul -- Dr Paul Murrell Department of Statistics

Re: [R] question on layout and image.plot

2007-09-18 Thread Paul Murrell
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul

<    1   2   3