similar to: Multiple palettes on single plot don't get rendered when I use dev.copy2pdf

Displaying 20 results from an estimated 2000 matches similar to: "Multiple palettes on single plot don't get rendered when I use dev.copy2pdf"

2011 Jul 28
3
bug in dev.copy2pdf output?
Hi, Am using R 2.13.1 on Linux (Fedora). Is anybody else having problems with dev.copy2pdf xyplot output with the pch=1 (open circle) symbol? The symbols come out as "q" in the PDF. dev.copy2eps produces the correct results as does cairo_pdf. Other symbols produced with dev.copy2pdf seem ok. Thanks, Selwyn
2012 Feb 06
1
Multi-page PDF using dev.copy2pdf(filename, onefile=TRUE)?
Hi all. I want to generate a sequence of n plots and save them into a single PDF file, one plot per page. From the R docs and other sources I gather the basic way to do this is save plot 1 into a file then append the 2:n plots to the same file.  This code shows my basic approach, but for some reason only the last plot is saved into the pdf. I've tried different variations (e.g. using onefile
2011 Nov 02
3
palettes for the color-blind
Everyone, I'm working with scatter plots with different colored symbols (via lattice). I'm currently using these colors for points and lines: col1 <- c(rgb(1, 0, 0), rgb(0, 0, 1), rgb(0, 1, 0), rgb(0.55482458, 0.40350876, 0.04166666), rgb(0, 0, 0)) plot(seq(along = col1), pch = 16, col = col1, cex = 1.5) I'm also using these with transparency (alpha
2005 May 23
6
colors and palettes and things...
After trying to find if there was a color picker in the FAQs and the help, I thought I would send a post here. I was overwhelmed with all the wonderful color choices R has predefined (discovered after typing in colors()) but can't figure out what they all (by name) look like. Is there a color picker or some other method to display all those colors next to the name? I think I can put together
2012 Oct 20
2
Help with programming a tricky algorithm
Hi All, I'm a little stumped by the following problem. I've got a dataset with the following structure: idxy ix iy country (other variables) 1 1 1 c1 x1 2 1 2 c1 x2 3 1 3 c1 x3 . . . . . 3739 55 67 c7 x3739 3740 55 68 c7 x3740 where ix and
2013 Feb 26
1
Help with graphs in A4 size
Hi, I need to generate complex graphics which have to be shown in the plot window but also in pdf file, and they must have A4 size. This is the reason why I use width=8.27 and heigth=11.69. The problem is that I don't make it runs when I put something (text, lines, and so on) outside the plot region. I mean if I run the following code, it works perfectly, because the text "My
2013 Feb 26
15
Ayuda con dev.copy2pdf - Ejemplo reproducible
Buenos días: Sigo cabezudeando con el tema de los gráficos; a ver si a alguien se le ocurre alguna idea... Supongamos este código: library(plotrix) graphics.off() windows(width=8.27, height=11.69) plot(3:10) #plot(3:10, main="Axis break test") par(xpd=TRUE) text(4, 11,"Axis break test") axis.break() axis.break(2,2.9,style="zigzag") mtext("Texto
2008 Aug 28
2
Photoshop CS2 - hiding palettes with tools, layers etc.
I just managed to install Adobe Photoshop CS2 in Wine 1.1.3 and have a big problem with palletes with tools, layers, history and so on. They are disappearing behind the main window. When I resize it and bring palettes back to its place, they are disappearing again as soon as I set the last one. What can I do to make them behave like in Windows?
2023 Feb 23
2
Palettes {grDevices} - wrong number of colors returned?
Hi, I would have expected that I get always 3 colors as result which is not true: hcl.colors(3, alpha=c(0, 0.5, 1)) # 3 colors rainbow(3, alpha=c(0, 0.5, 1)) # 3 colors heat.colors(3, alpha=c(0, 0.5, 1)) # 3 colors terrain.colors(3, alpha=c(0, 0.5, 1)) # 6 colors cm.colors(3, alpha=c(0, 0.5, 1)) # 6 colors topo.colors(3, alpha=c(0, 0.5, 1)) # 9 colors R-Version and
2001 Aug 08
1
Strategy for creating a palette...?
Dear all, I'm generally not a big fan of GUIs, but I have just discovered one thing where a GUI would be a nice thing: creating color palettes. I'm creating an "image", for transparencies for a lecture I'm giving, so this is going to look great... :-) What I'm out for, is to make green tones and red tones, and a relatively sharp break between them. This break will
2008 Apr 24
2
alternatives to RColorBrewer?
I've found RColorBrewer useful for its qualitative palettes, but wished that it could generate more than 12 qualitative palettes (e.g. with Set3). Any suggestions for alternative color palette generators that can handle e.g. 18 distinctive colors? (I'm aware of using rainbow(), but this doesn't generate enough distinct colors when the number of palettes is large). Thanks, Andrew
2004 Jul 13
1
lda() - again.
Hi. I asked a question about lda() and got some answers. However, one question remains (which is not independent of the earlier ones): What output does lda() produce which I can use to compute the posteriors? I know predict(lda())$posterior will give me precisely the posteriors, but suppose I'd like to compute them myself, outside of R. So far, I have not been able to use
2014 Oct 31
2
Options that are local to the package that sets them
Dear All, I am trying to do the following, and could use some hints. Suppose I have a package called pkgA. pkgA exposes an API that includes setting some options, e.g. pkgA works with color palettes, and the user of the package can define new palettes. pkgA provides an API to manipulate these palettes, including defining them. pkgA is intended to be used in other packages, e.g. in pkgB1 and
2012 Nov 29
1
[mgcv][gam] Manually defining my own knots?
Dear List, I'm using GAMs in a multiple imputation project, and I want to be able to combine the parameter estimates and covariance matrices from each completed dataset's fitted model in the end. In order to do this, I need the knots to be uniform for each model with partially-imputed data. I want to specify these knots based on the quantiles of the unique values of the non-missing
2005 Jul 07
2
Brewer colours
Anyone who is interested in using optimal colour palettes should look at the work of Cindy Brewer: www.colorbrewer.org I have written code to use her colour schemes in R. It is included below. Perhaps someone may find this interesting enough to work into a package. Included also is a function showpalette, which was posted here a while back. I don't remember who wrote it. I have copied all
2009 Jan 28
2
Saving plot into file without showing it
Hi List, My apologies in advance if question is simplistic, I am quite new to R graphics capabilities and I could not find anything in past threads... I use R 2.8.1 under Mac OS X, but I would preferrably have a cross platform answer as I use also R under Windows I produce plots using R & save them in a file e.g. below: y <- rnorm(1000) x <- rnorm(1000) plot(x,y)
2015 Jul 10
0
colour palettes in biplot
biplot could benefit from allowing colour palettes, eg. allowing col=list(xcol= xxpal, ycol= yypal) where xxpal and yypal are palettes. For an example, see the robust pricipal components in the principal componetent section of <http://www.statlab.uni-heidelberg.de/data/olive/olive10.pdf> The required change is to replace col[1L] resp. col[2L] by col[1L]] reep. col[[2L]] for example in
2013 Jan 28
2
Why are the number of coefficients varying? [mgcv][gam]
Dear List, I'm using gam in a multiple imputation framework -- specifying the knot locations, and saving the results of multiple models, each of which is fit with slightly different data (because some of it is predicted when missing). In MI, coefficients from multiple models are averaged, as are variance-covariance matrices. VCV's get an additional correction to account for how
2019 Apr 01
2
New grDevices::hcl.colors()
Hi everyone, I wanted to draw your attention to a new post on the developer.R-project.org blog: https://developer.R-project.org/Blog/public/2019/04/01/hcl-based-color-palettes-in-grdevices/ A new function grDevices::hcl.colors() greatly extends the color palette functionality available in base R. Also, the defaults in the heatmap functions image() and filled.contour() have been adapted
2002 May 22
1
white in the default palette
Dear All, [I'd already sent this message earlier (Apr 6) but as I had no response and I still see that it is the case in R1.5 I thought I'd try again] I recently encountered a problem (actually missed some data) because "white" is one of colours in the "default" palette and that does not show up to well on my transparent (on white background). Of course it is