Re: [R] Double buffering plots on Windows

2024-03-25 Thread Paul Murrell
on Windows (R Gui &/or RStudio) using base R plot() and friends? I have several old examples somewhere that used to work (R < ~ 3), but now no longer work as before. Date: Mon, 25 Mar 2024 10:43:29 +1300 From: Paul Murrell mailto:p...@stat.auckland.ac.nz>> To: "Bickis, Mi

Re: [R] Double buffering plots on Windows

2024-03-24 Thread Paul Murrell
<https://stat.ethz.ch/mailman/listinfo/r-help> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html <http://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code. -- Dr Paul Murrell (he/him) Te Kura Tatau

Re: [R] ggarrange & legend

2024-02-06 Thread Paul Murrell
legend in combined ggplots using ggarrange >> with >> be positions top, bottom, left and right. >> My question: Is there a function to change the position of the legend to >> topright or bottomleft? Right and top etc are in the middle of the axis. >> >>

Re: [R] Problems when trying to visualize clusters

2023-11-27 Thread Paul Murrell
2264, 3094, 448, 900, 1088, 214, 202, 4921, 3567, 229, 249, 968, 621, 2824, 1886, 1989, 2034, 265, 590, 2425, 1521, 762, 272, 600, 3928, 2811, 5552, 308, 2474, 2442, 1379, 2280, 2897, 2794, 2611, 761, 2795, 1110, 1623, 209, 810, 1681, 1642, 1092, 1677, 825, 2246, 779, 816, 226, 214, 908, 3010, 20

Re: [R] Plot to a device and examine the plot?

2023-10-15 Thread Paul Murrell
e https://stat.ethz.ch/mailman/listinfo/r-help <https://stat.ethz.ch/mailman/listinfo/r-help> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html <http://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code. -- Dr

Re: [R] annotate

2023-10-05 Thread Paul Murrell
p://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code. -- Dr Paul Murrell Te Kura Tatauranga | Department of Statistics Waipapa Taumata Rau | The University of Auckland Private Bag 92019, Auckland, New Zealand 64 9 3737599 x85392 p...@stat.auc

Re: [R] How to draw plot marks without label?

2023-09-05 Thread Paul Murrell
lt;http://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code. -- Dr Paul Murrell Te Kura Tatauranga | Department of Statistics Waipapa Taumata Rau | The University of Auckland Private Bag 92019, Auckland 1142, New Zealand 64 9 3737599 x85392

Re: [R] single character in R, and how to manipulate it

2023-03-30 Thread Paul Murrell
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help <https://stat.ethz.ch/mailman/listinfo/r-help> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html <http:

Re: [R] insert hyperlink into svg graphic

2023-03-08 Thread Paul Murrell
Hi On 8/03/23 15:27, Rusty Travis wrote: On 3/7/23 13:12, Paul Murrell wrote: Hi I think the main issue here is that you are *drawing* text on the graphics device, so I would only expect to see literal XML text output in the result. ''' Hope that helps Thank you for your consideration

Re: [R] insert hyperlink into svg graphic

2023-03-07 Thread Paul Murrell
ct.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. ______ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help <https://stat.ethz.ch/mailman/listinfo/r-

Re: [R] Adding page numbers to existing PDFs

2022-10-27 Thread Paul Murrell
n/listinfo/r-help <https://stat.ethz.ch/mailman/listinfo/r-help> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html <http://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducib

Re: [R] Putting colours in ggplot facets

2021-10-26 Thread Paul Murrell
ble for my version of R (4.1.1 (2021-08-10)). But I found it here https://github.com/pmur002/gggrid/releases/tag/v0.1-0 <https://github.com/pmur002/gggrid/releases/tag/v0.1-0>, copied the code into your code, and it worked very well. On 2021-10-26 19:18, Paul Murrell wrote: > Hi >

Re: [R] Putting colours in ggplot facets

2021-10-26 Thread Paul Murrell
e as the data (6): x and y >> >> Thanks for some help. >> >> Philip >> >> __ >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listi

Re: [R] How to rotate only one panel by 90 degrees in R plot?

2021-10-12 Thread Paul Murrell
assign the second plot to an object p and then call grid.draw(p), or to assign g to the second plot, but they did not work... Thanks -- Best regards, Luigi __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-

Re: [R] Trying to Learn Details of Grid Graphics, Help Page Errors

2021-09-22 Thread Paul Murrell
ailman/listinfo/r-help <https://stat.ethz.ch/mailman/listinfo/r-help> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html <http://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code. -- Dr Paul Murrell Departmen

Re: [R] Wayland backend for R

2021-06-22 Thread Paul Murrell
ted, 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/ __ R-help@r

Re: [R] graphics useRaster check_irregular definition for date or posix

2021-04-15 Thread Paul Murrell
my initial post? The problem is that the modification of 'x' for midpoints makes the 'x' irregular even if 'x' starts off as regular (when 'x' is a Date). Paul Cheers, Chris Am 15.04.2021 03:26 schrieb Paul Murrell: Hi Feeding R-help back in, in case my suggestions might be of use to so

Re: [R] graphics useRaster check_irregular definition for date or posix

2021-04-14 Thread Paul Murrell
e is no difference between useRaster true and false plots. Do you have a suggestion on how to continue? Thanks a lot, Chris Am 14.04.2021 04:37 schrieb Paul Murrell: Hi I doubt it is intended (to deliberately exclude "difftime" objects). Can you please supply a full image() example (

Re: [R] graphics useRaster check_irregular definition for date or posix

2021-04-13 Thread Paul Murrell
t.ethz.ch/mailman/listinfo/r-help> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html <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 Aucklan

Re: [R] Monospaced font not shown correctly (Xubuntu 20.04)

2021-01-19 Thread Paul Murrell
s-%s-*-*-%d-*-*-*-*-*-*-*" $Mincho [1] "-*-mincho-%s-%s-*-*-%d-*-*-*-*-*-*-*" __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help <https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Plot math symbol with string and number

2020-08-17 Thread Paul Murrell
Not sure I agree with that. Paul Murrell put together plotmath around 2000 prior to the widescale development and adoption of the unicode standard (corrections/modifications welcome!). So at the time, there really was no other way to handle this for most OS'es. With UTF8 now being generally

Re: [R] Load svg, eps or png into graphics device?

2020-06-21 Thread Paul Murrell
0x0F52F982 __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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 Pa

Re: [R] [FORGED] Re: text annotation on Manhattn plot in qqman

2020-05-20 Thread Paul Murrell
ined, reproducible code. -- Michael http://www.dewey.myzen.co.uk/home.html -- Michael http://www.dewey.myzen.co.uk/home.html __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help P

Re: [R] [FORGED] what is the expected behavior of layout.show(n)

2020-04-29 Thread Paul Murrell
purpose is to check if my layout is correct. It must not leave any side effect on the main plots. From the help of function layout this line relates to layout.show layout.show(n) plots (part of) the current layout, namely the outlines of the next n figures. It does not describe the behavior I am seei

Re: [R] [FORGED] Re: Quantile Density Contours

2019-03-27 Thread Paul Murrell
__ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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] [FORGED] R cairo_pdf function does not respect plotting boundaries

2019-03-04 Thread Paul Murrell
g list -- To UNSUBSCRIBE and more, see 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 U

Re: [R] Interplay rnaturalearth, vwline

2018-11-13 Thread Paul Murrell
is outside the plot __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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,

Re: [R] [FORGED] Re: Line with linearly changing thickness – installation issues

2018-11-11 Thread Paul Murrell
Ferri Gesendet: Sonntag, 11. November 2018 um 15:38 Uhr Von: "Peter Dalgaard" An: "Ferri Leberl" Cc: r-help@r-project.org Betreff: Re: [R] Line with linearly changing thickness Hmm... I don't recall whether this has been packaged up, but Paul Murrell talked about it at useR

Re: [R] [FORGED] grid.grab(): strange behavior of "wrap" argument when working with lattice output

2018-10-30 Thread Paul Murrell
    one of more grobs overwritten (grab WILL not be faithful; try 'wrap = TRUE') -- which is strange, given that I specified wrap = TRUE. I proceed by running grid.draw(myGrob). According to Paul Murrell (R Graphics, 2nd ed., page 239), using grid.grab(wrap = TRUE) is "guaranteed to re

Re: [R] [FORGED] Re: Change the position of label when using R package eulerr

2018-09-16 Thread Paul Murrell
lf-contained, reproducible code. David Winsemius Alameda, CA, USA 'Any technology distinguishable from magic is insufficiently advanced.' -Gehm's Corollary to Clarke's Third Law [[alternative HTML version deleted]] _

Re: [R] [FORGED] Re: getting 21 very different colours

2018-09-11 Thread Paul Murrell
SE 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...@stat.auckland.

Re: [R] [FORGED] Re: Display time of PDF plots

2018-09-03 Thread Paul Murrell
Hi Another option is to just rasterize the points (but leave the rest of the plot vector). See ... https://www.stat.auckland.ac.nz/~paul/Reports/rasterize/rasterize.html Paul On 04/09/18 06:20, Bert Gunter wrote: 1. Plot a random sample of the points (e.g. of rows of matrix/dataframe

Re: [R] [FORGED] Adding % sign to ticks in persp()

2018-08-05 Thread Paul Murrell
t;) [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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

Re: [R] HLS and HSV in package colorspace [not whitepoint related]

2018-06-24 Thread Paul Murrell
as( RGB(0.1,0.5,0.9), 'sRGB' ), 'HLS' )     H L S [1,] 201.7339 0.6519387 0.8698137 as( RGB(0.1,0.5,0.9), 'HLS' )    H   L   S [1,] 210 0.5 0.8 Note that 201.7339 0.6519387 0.8698137 != 210 0.5 0.8 -- Dr Paul Murrell Department of Statistics The University of Au

Re: [R] [FORGED] How to alpha entire plot?

2018-06-04 Thread Paul Murrell
___ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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

Re: [R] [FORGED] Re: drc, ggplot2, and gridExtra

2018-05-22 Thread Paul Murrell
E 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...@stat.auckland.a

Re: [R] [FORGED] Re: draw borders of bars inside of the rectangles in a barplot

2018-05-22 Thread Paul Murrell
t.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. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see http

Re: [R] [FORGED] Extracting specified pages from a lattice ("trellis") object.

2018-04-26 Thread Paul Murrell
Hi Does this not do what you want ... ? allpages <- dotplot(variety ~ yield | year * site, data=barley, layout=c(2,2)) page2 <- allpages[1:2, 3:4] print(page2) Paul On 24/04/18 17:51, Rolf Turner wrote: On 24/04/18 15:17, Paul Murrell wrote: Hi I think the subs

Re: [R] [FORGED] Extracting specified pages from a lattice ("trellis") object.

2018-04-23 Thread Paul Murrell
ot in others, and since I cannot understand what it actually does, I cannot figure out why. E.g. in my toy example "xxx[5:8]" seems to give me what I want, but in the context of my real application a similar construction does not work. Thanks for any insight. cheers, Rolf Turn

Re: [R] Identify does sort the locations

2018-02-15 Thread Paul Murrell
, Thanks for your answer. I am wondering if in the previous versions, let's say 2.1x, the data were in the selection order... Let me know if there a R fonction taht I can code. Do you think I should use locator function and match points on my own? Best, Samuel -- Dr Paul Murrell Department

Re: [R] Identify does sort the locations

2018-02-15 Thread Paul Murrell
iling list -- To UNSUBSCRIBE and more, see 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 o

Re: [R] [FORGED] Suppress horizontal mean line in beanplot()

2018-02-13 Thread Paul Murrell
rays) # How to remove the dashed horizonal line? -- 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-hel

Re: [R] [FORGED] can't print ggplot with Chinese characters to pdf files

2017-10-12 Thread Paul Murrell
e.pdf", m2) [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and

Re: [R] [FORGED] Re: axis() after image.plot() does not work except if points() is inserted between

2017-07-27 Thread Paul Murrell
page, I see that there is a 'graphics.reset' argument which you can set to TRUE in such a case: image.plot(D, col=rev(heat.colors(128)),bty="n", xlab="Lines", ylab="Columns", cex.lab = 0.5, zlim= range(D, na.rm=TRUE), graphics.reset = TRUE, # <<<&l

Re: [R] [FORGED] Re: par(mfrow) for heatmap plots

2017-07-23 Thread Paul Murrell
th grid graphics to plot multiple heatmaps. https://stackoverflow.com/questions/15114347/to-display-two-heatmaps-in-same-pdf-side-by-side-in-r -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 p...@stat.a

Re: [R] [FORGED] How to create my own grDevices using java

2017-06-01 Thread Paul Murrell
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/ __ R-help@r

Re: [R] [FORGED] creating a color gradient in geom_ribbon

2017-05-11 Thread Paul Murrell
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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 Stati

Re: [R] [FORGED] Re: Example of the use of the "crt" graphical parameter?

2017-05-01 Thread Paul Murrell
f-contained, reproducible code. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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,

Re: [R] [FORGED] difference metric info of same font on different device

2017-04-09 Thread Paul Murrell
quot;) text(1, 0.25, expression(CO[2]-FZSong), family = "fzsong") text(1, 0.5, expression(CO[2]-Song), family = "song") text(1, 0.75, expression(CO[2]-Serif), family = "serif") dev.off() __ R-help

Re: [R] [FORGED] Can fallback font be specified?

2017-03-26 Thread Paul Murrell
C_CTYPE=Chinese (Simplified)_China.936;LC_MONETARY=Chinese (Simplified)_China.936;LC_NUMERIC=C;LC_TIME=Chinese (Simplified)_China.936" __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE d

Re: [R] [FORGED] display UTF8 characters in pdf

2017-03-12 Thread Paul Murrell
given body of data. ~ John Tukey [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

Re: [R] [FORGED] Re: single strip for the same group in dotplot lattice

2017-02-23 Thread Paul Murrell
quot;", "", ""))), key = list( space = "top", columns = 3, text = list(c("Blank", "Negative", "Positive"), col="black"), rectangles = list(col=c("grey", "green", "red"))

Re: [R] [FORGED] help with gradient boxplot

2016-12-11 Thread Paul Murrell
are called "bwplot.box.polygon". If I am trying to make a gradient filling for barplot of other plots, how would I define grobs? Thanks!! Ace On Thursday, December 8, 2016 5:24 PM, Paul Murrell <p...@stat.auckland.ac.nz> wrote: Hi You could try ... grid.export(..., strict=

Re: [R] [FORGED] help with gradient boxplot

2016-12-08 Thread Paul Murrell
. Any other thoughts? Thanks. Ace On Tuesday, December 6, 2016 7:43 PM, Paul Murrell <p...@stat.auckland.ac.nz> wrote: Hi 'gridSVG' might be one way to get this. For example ... library(lattice) # Draw boxplot (with a package that sits on top of 'grid') bwplot(voice.part ~ height, data=

Re: [R] [FORGED] help with gradient boxplot

2016-12-06 Thread Paul Murrell
oject.org mailing list -- To UNSUBSCRIBE and more, see 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

Re: [R] [FORGED] Re: [FORGED] How to remove box in Venn plots (Vennerable package, uses grid) - similar to bty="n" in standard plots

2016-11-14 Thread Paul Murrell
lotting a "VennDrawing" structure uses the grid package and I'm lost there at the moment. Thank you for your help again, grid.ls() etc is a very cool and flexible approach Jose -------- *From:* Paul Murrell <p...@stat

Re: [R] [FORGED] How to remove box in Venn plots (Vennerable package, uses grid) - similar to bty="n" in standard plots

2016-11-13 Thread Paul Murrell
roject.org mailing list -- To UNSUBSCRIBE and more, see 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

Re: [R] [FORGED] Re: [FORGED] lattice: control panel extent on device

2016-10-26 Thread Paul Murrell
t(paste0(prefix,".panel.1.1.off.vp")) upViewport(0) } #n-loop } } d <- dim(volcano) xy <- data.frame( x = 1:d[1], y1 = volcano[,30], y2 = sqrt(volcano[,7])) bottom <- levelplot(volcano, main = 'boom', ylab = 'foo', xlab = 'bar', aspect = 0.5) middle <- xyplot(y1 ~ x, data = xy, mai

Re: [R] [FORGED] Re: lattice: control panel extent on device

2016-10-25 Thread Paul Murrell
ot;xy_p.panel.1.1.off.vp") # Draw proper left axis labels grid.text(seq(100, 200, 20), x=unit(0, "npc") - unit(1, "lines"), y=unit(seq(100, 200, 20), "native"), just="right", gp=gpar(cex=.8)) upViewport(0) Paul On 26/10/16 10:50, Be

Re: [R] [FORGED] Re: lattice: control panel extent on device

2016-10-25 Thread Paul Murrell
more, see 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 Auckla

Re: [R] Limit the y-axis line with ggplot2 (not the axis itself, but the line used at the left of the graph) [SOLVED]

2016-10-25 Thread Paul Murrell
to make it more nice theme(panel.background = element_rect(fill = 'white'), panel.grid.major = element_blank(), panel.grid.minor = element_blank(), plot.margin = unit(c(0.5, 1, 0.5, 0.5), "cm"), axis.text.x=element_text(size=14), axis.text.y=element_text

Re: [R] [FORGED] Rotating points, preferably in grid

2016-08-24 Thread Paul Murrell
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/ __ R-help@r-p

Re: [R] [FORGED] Plotting in LaTeX with ggplot2 in R and using tikzdevice

2016-08-03 Thread Paul Murrell
g 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...@stat.auckland.ac.nz http://www.stat.auckl

Re: [R] [FORGED] Lattice barchart legend with panel.barchart

2016-07-27 Thread Paul Murrell
legend. Is there any easy way to retain these blocks with panel.barchart? -- 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] [FORGED] Re: Can I increase the size of an asterisk in plotmath()?

2016-06-30 Thread Paul Murrell
uite nice. On my Mac at least. Well, it didn't look nice on my laptop. The asterisk was nearly invisible. cheers, Rolf __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-proj

Re: [R] Fit a smooth closed shape through 4 points

2016-03-21 Thread Paul Murrell
___ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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. --

Re: [R] [FORGED] How to remove the grid around the plot(ca(...)) function?

2015-10-08 Thread Paul Murrell
tinfo/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...@st

Re: [R] [FORGED] Re: plotting over a raster image with control over location and orientation

2015-08-24 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 p...@stat.auckland.ac.nz http

Re: [R] help for lay person assisting R user with disability

2015-06-18 Thread Paul Murrell
-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] Resizing a graph with a legend in the outer margin - wish for functionality like mtext()

2015-03-25 Thread Paul Murrell
]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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] Using grid.layout inside grid.layout with grid package: naming of the viewports affects plotting

2014-11-27 Thread Paul Murrell
. -- 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] Ternary Plots Do Not Display Ellipses in PDF

2014-10-20 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

Re: [R] par(plt) behaving inconsistely? bug?

2014-10-08 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 p...@stat.auckland.ac.nz http://www.stat.auckland.ac.nz/~paul

Re: [R] Making my own graphics device

2014-08-17 Thread Paul Murrell
-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] clipart - box with rounded corners?

2014-05-12 Thread Paul Murrell
Hi On 05/12/14 18:17, Spencer Graves wrote: On 5/11/2014 8:53 PM, Paul Murrell wrote: Hi There is a grid.roundrect(), in case you are working in that alternative universe. p.s. Is it feasible to mix grid with traditional graphics? Your Ch. 6 begins, This chapter is useful for drawing

Re: [R] clipart - box with rounded corners?

2014-05-11 Thread Paul Murrell
Graves __ 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] Extracting Width and Length of Each Shape in EPS File

2014-04-16 Thread Paul Murrell
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 New

Re: [R] Finding absolute viewport location in grid / lattice

2013-11-07 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 p...@stat.auckland.ac.nz http

Re: [R] Control over character height, width, skew etc.?

2013-11-03 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

Re: [R] failure to replayPlot() a recordedplot object saved in a previous session?

2013-09-24 Thread Paul Murrell
(64-bit) locale: [1] C attached base packages: [1] stats graphics grDevices utils datasets methods base -- 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

Re: [R] grid: Grid graphics flickering

2013-08-19 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] image versus levelplot

2013-08-19 Thread Paul Murrell
(i*i), ncol=i) system.time(print(Matrix::image(M1))) user system elapsed 11.320 0.064 11.406 M2 - matrix(rnorm(i*i), ncol=i) system.time(image(as.matrix(M2))) user system elapsed 0.837 0.004 0.844 -- Dr Paul Murrell Department of Statistics The University

Re: [R] Masking oceans using polypath

2013-08-11 Thread Paul Murrell
by Paul Murrell to mask the ocean (in fact, all that is not the country displayed) in a plot. It works pretty well for Australia. However, when I try to apply the same code for France, it fails. I search for the reason but I can't find. Here is the code for Australia, after the same code for France

Re: [R] Masking oceans using polypath

2013-07-16 Thread Paul Murrell
$x, NA, c(xbox, rev(xbox))), c(outline$y, NA, rep(ybox, each=2)), col=light blue, rule=evenodd) -- 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] Construct plot combination using grid without plotting and retrieving an object?

2013-05-27 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] problems with text in plots when using illustrator

2013-04-09 Thread Paul Murrell
? If so you should post a dataset (in R code using dput) and code. Many of us do not have such a resource but I cannot imagine understanding your complaint unless you do post further detail. -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New

Re: [R] Clip a contour with shapefile while using contourplot

2013-03-24 Thread Paul Murrell
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/ __ R

Re: [R] 2 questions about svg output

2013-03-13 Thread Paul Murrell
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 92019

Re: [R] Raster images and saving with original pixel dimensions in tiff, jpeg, or png perferablly.

2013-03-04 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] interactive visualizations - anyone use SVGAnnotation?

2013-03-04 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 p...@stat.auckland.ac.nz http://www.stat.auckland.ac.nz

Re: [R] Equivalent of box() in grid graphics

2013-01-27 Thread Paul Murrell
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] grid(Base): How to avoid Figure region too small and/or viewport too large by specifying 'relative' units?

2012-10-22 Thread Paul Murrell
. -- 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/mailman

Re: [R] plot.new() and grid functions in multipage pdfs

2012-10-22 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 of Auckland

Re: [R] plot.new() and grid functions in multipage pdfs

2012-10-22 Thread Paul Murrell
, Paul Murrell wrote: Hi Here are a couple of suggestions: (i) To start a new page, use plot.new() FIRST, followed by grid.newpage() (if you are trying to mix 'grid' and base graphics) (ii) Watch out for 'grid' and base graphics fighting each other over the clipping region (you might need to use

Re: [R] svyplot and svysmooth with hexbin

2012-10-18 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 New

Re: [R] Background color in a grid plot seems to interfere with plot()

2012-09-25 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] Background color in a grid plot seems to interfere with plot()

2012-09-24 Thread Paul Murrell
=, xaxt=if(i==2) s else n, yaxt=if(j==1) s else n) upViewport() } } par(par.) dev.off() Paul Murrell p...@stat.auckland.ac.nz writes: Hi On 24/09/12 09:36, Marius Hofert wrote: Hi, Why does the upper left panel (in the plot below) not have a gray background? That is a symptom

Re: [R] Background color in a grid plot seems to interfere with plot()

2012-09-24 Thread Paul Murrell
=FALSE) # background grid upViewport() } } par(par.) dev.off() Paul Murrell p...@stat.auckland.ac.nz writes: Hi On 24/09/12 18:06, Marius Hofert wrote: Dear Paul, Thank you for helping. This works great. I then tried to put in a grid (via grid()). Why does that fail

Re: [R] Adding textbox to multiple panels in lattice

2012-09-24 Thread Paul Murrell
-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] Background color in a grid plot seems to interfere with plot()

2012-09-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 The University of Auckland

  1   2   3   >