similar to: specifying colours in a ggplot2 piechart

Displaying 20 results from an estimated 120 matches similar to: "specifying colours in a ggplot2 piechart"

2006 Apr 27
1
losing x-label when exporting to PNG
I have a simple barplot that looks fine in the R graphics device window. However when I export it to png I am losing the x-label. It must be an obvious problem but I cannot see it. Trying to resize the plot does not seem to help. Code is below. Any help gratefully received. ###### Start Code############ Groups <-c(21.8,45, 43, 17.2, 8.3, 18) names(Groups) <- c("Exeter",
2008 Sep 25
2
ggplot, qplot in loop
Dear List, yes, me again trying to work with qplot ;-) I would like to make several single plots within a loop, like this (simplified and so on...): trials <- c("A","B","C") mycolours <- ("wheat","darkolivegreen","lightgreen",
2008 Sep 24
1
qplot, stacked area, own colourscheme
Dear list, I would like to apply my own colours to a stacked area plot, done with qplot, but I have not succeeded... What do I have so far (I am dealing with the development of cover of specific groups of plants): library(ggplot2) library(RODBC) channel <- odbcConnect("myusername", case="tolower") sql <- "select trial, cover_of, dateofsurvey, cover from
2007 May 27
2
pie chart in lattice - trellis class
Dear all, After going through the Lattice doc and R-help list and google, I got the feeling that there is no function in lattice or other package to compute a pie chart object of class "trellis". Although pie charts are obviously not considered optimal even in the pie() doc ;-) , pie chart trellis objects would be easy positioned e.g. over a map drawn with the grids package. Can
2005 Sep 29
3
Display values in piechart/barplot
Is it possible to automatically display the underlying values of a piechart/barplot in the graphic? If so, which package/function/argument do I need for it? Thanks, Volker
2002 Jan 07
0
piechart default colour (PR#1248)
As of 1.4.0, the default colour of pieslices is black. Try piechart(1:3) for instance. The workaround is to use an explicit col="white" argument. (Of course, everything in example(piechart) uses fancy colour schemes, so nobody noticed that the default got changed.) -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
2010 Dec 08
2
piechart
dear R-community, Is it possible to have one pie chart of a large radius and then a pie chart with smaller radius placed on top of the larger so the centers of the two pie charts coincide? I managed to place a filled circle with smaller radius in the piechart, see below. Thanks in advance, Sybille pie(rep(1,12), col=rainbow(24), radius=0.9, labels=
2002 Feb 07
2
FW: layout and piechart diameter problem (PR#1300)
Third try... > -----Original Message----- > From: Warnes, Gregory R > Sent: Tuesday, February 05, 2002 4:12 PM > To: 'R-bugs' > Subject: layout and piechart diameter problem > > > I've been using layout to create some graphics pages which include pie > charts. (NB: No piechart arguments please, the main chart on the page is > a proper bar chart
2015 Jul 27
2
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
Hi, I created a R library that uses a Fortran module. Everything works like a charm on linux. Now I'm trying to make it work on Windows. I cloned my git repository <https://github.com/ignacio82/MyPi> on a windows computer, and when I press the build and reload button on Rstudio I get these errors: ==> Rcmd.exe INSTALL --no-multiarch --with-keep.source MyPi * installing to library
2009 Sep 29
1
Create column of frequency
Dear all, Given mypi mypi <- c(0.1,0.2,0.2,0.1,0.3,0.4,0.4,0.4,0.4,0.2) I want to create myfreq as follows mypi myfreq 0.1 2 0.2 3 0.2 3 0.1 2 0.3 1 0.4 4 0.4 4 0.4 4 0.4 4 0.2 3 where myfreq is frequency of its corresponding observation. How to do that? Thank you, Regards, A. Kudus Institute for Math Research Univ Putra Malaysia [[alternative HTML version deleted]]
2019 Jul 07
2
Can't Connect With New Install
Hello - I'm working on a project that when deployed I'll need wireless access for updates / configuration changes. I've installed Samba but can't get it to work. I can SSH and ping both the host name and IP, but no Samba. I've searched online for help and tried everything that sounded reasonable but I'm at a dead end. Here's some of the relevant info and I'd be glad
2019 Jul 07
4
Can't Connect With New Install
Thanks for your help. I followed your suggestions and I'm getting basically the same thing. I used your suggested smb.conf and created /home/pishare: <mypi>:/ $ ls -l -d /home/pishare drwxrwsr-x 2 root root 4096 Jul 7 12:17 /home/pishare "pi" is a Unix and a Samba user. Attempting to logon from Win 10 gives the same error messages. Testing the connection as suggested in
1997 Jun 04
0
R-beta: save.plot and piecharts
Hi all, I am not sure if someone else noticed this as well, but the combination of piechart plots and save.plot does not work correctly. The labels and tickmarks are plotted OK, but the piechart itself is placed somewhere else in the figure (when using colors) or not visible at all (if not filled). The combination with postscript("...") works, though. Two small thingies concerning pie
2011 Feb 25
1
color code in loop for piecharts plotting
Hi, I am using this loop par(mfrow=c(3,3)) annos<-c(2001:2007,2009) for (i in annos) { t<-subset(masia,YEAR==i) t$FAMILIA<-drop.levels(t$FAMILIA) pie(table(t$FAMILIA),main=i) } To make piecharts of species composition among years (my data frame is called "masia"). So I get 1 piechart of the families that we have found in our survey each year. We don't have always
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
2008 Jan 07
7
rainbow function
Hello I'm using rainbow function to generate 10 colors for the plot and it is difficult to tell the neighboring colors from each other. How can I make the colors more differently. Thanks Zhaoming [[alternative HTML version deleted]]
2010 Jun 25
0
HEGY.test, error "Mypi not found"
Hi, I'd like to use the HEGY test from the uroot package (s. attachment) and get the following error message: error in dimnames(Mypi)[[2]] <- paste("Ypi", 1:s, sep = "") : Object 'Mypi' not found For the air passenger example on http://127.0.0.1:11997/library/uroot/html/HEGY.test.html it works, but for my time series it doesn't (giving names to the
2015 Jul 27
0
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
You should be able to set PKG_FCFLAGS="-fno-stack-protector" when compiling to ensure that the stack protector is not used. (Trying that out on a Windows VM, with a simple `R CMD build` + `R CMD INSTALL`, compilation of your package succeeded but linking failed saying the DLL 'Fpi' was not found; I imagine that's a separate issue.) As an aside, be sure to check out what
2004 Jun 14
1
Piecharts in a graph
Dear R-Community. I am trying show pie charts on a graph. To be precise, I have series of catch calues by species by geographic (5 deg by 5 deg) regions. I want to draw circles (actually pie charts showing the proportion of the catch in each area) so that I have a graph of catch by species by geographic area! I know there is the < symbols(dat$lon,dat$lat,circles = dat$sp1, add=TRUE) > but
2002 Feb 07
2
Problems sending email to r-bugs
Hi all, I've twice tried to send a bug report to r-bugs@biostat.ku.dk , however, the bug report has not shown up in the database, nor does it appear to have been copied to R-devel. One message was sent Tue Feb-05-2002 at 4:12pm EST, I resent at Wed Feb-06-2002 at 12:52 EST. I haven't recieved any error messages or warnings from the mail server, so I'm not sure what is wrong. Is