Displaying 20 results from an estimated 1000 matches similar to: "pie() with only 180°"
2009 Mar 28
7
unicode only works with a second one
I'd like to paste a zodiac sign on a graph, but it only prints it when
I add another unicode ( \u3030) to the desired \u2648 - why?
See the examplecode (compare the orange with the skyblue):
plot(c(-1,1),c(-4,-2),type="n")
text(x=0,y=-3.0,labels="\u2648 \u3030",cex=2.3,col="skyblue")
text(x=0,y=-3.2,labels="\u2648",cex=2.3,col="orange")
2009 May 05
4
Create Pie chart from .csv file
Hi all,
I am looking to create a pie chart from a given column in a .csv file.
My class variables are as follows:
entry_type, uniquekey, types, title, url, abstract, journal, author, month,
year, howpublished
So say I want to export a pie chart that groups together all entries under
'types' e.g. 3 x statistics 2x education etc. Im looking to have a piechart
represent this
2006 Feb 08
3
print formula on plot
I estimate some parameters and I want to print them (pretty) on my plot:
# somehow estimated parameters
z<-c(1.543523e+00, 1.23453e+00, 3.454000e+00)
x<-seq(-1,1,length=100)
plot(x,z[3]*x^2+z[2]*x+z[3],type="l", main="My nice plot of the
estimated function")
zs<-format(z,digits=4,scientific=FALSE,trim=TRUE)
text(-0.9,7,expression(1.54*x^2)) # is
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
2007 Mar 02
2
plot with fixed axis proportion
I want to plot something (eg a circle) with a fixed ratio of the x and
y axis, or (even better) with a fixed size when I print it. Output
should then be a circle (actually it'll be someting more complicated)
with radius 5cm and not an ellipse.
I'm _sure_ this is not new, but after looking 45min for a solution, I
post here...
Thanks for help
Thomas
2008 Mar 10
3
internet proxy settings (win)
I cannot access internet through R.
My IT-guys told me that I should set the proxy and the port and then
everything will be fine. Where can I set them?
I use R 2.6.2 under Windows 2000 and these settings are those of the
Internet Explorer (no password).
I read http://cran.at.r-project.org/bin/windows/base/rw-FAQ.html#The-Internet-download-functions-fail_002e
but staring R by
"C:\Program
2010 Jan 25
1
Postscript graphs
Hi,
I tried to use the following commands to create a postscript pie chart using R:
postscript(file="H:/piechart.eps")
# then I wrote my commands to generate the pie chart
pie(filename,labels=,col=,radius=0.6)
dev.off()
After I ran those commands, instead of giving the pie chart, it showed
> dev.off()
postscript
2
>
In my H drive, there is a file called
2010 Nov 23
1
specifying colours in a ggplot2 piechart
Someone was asking how to do a 16 category piechart in OpenOffice Calc and it appears that it can not be done (which we, probably, should be happy about) but I thought that I'd try it in ggplot2.
It works but I then thought I'd like to make the colours more distinctive but fro some reason I don't seem to be able to use manually assigned colours.
Can anyone suggest where I'm
2000 Dec 13
1
explosed-pie
Dear All R users,
my name is Raffaella Tommasini and I 'm working with R version 1.1.1
I'd like to know if is possible plot "explosed-pie" with R.
Thanks for your attention,
Raffaella Tommasini
Bologna
Italy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20001213/722f4bd2/attachment.html
2008 Mar 20
4
little subplot in corner
I want to draw a little subplot ("overview") into my detailed plot. It
should be placed in say the top right corner and have the size of some
legend (like legend(x="topright", inset=0.03, ...)
#main plot
plot(rnorm(100))
#give little density in corner
plot(seq(-2,2,length=300),dnorm(seq(-2,2,length=300)),type="l")
I don't want something like par(mfrow=c(1,2)) as
2010 Mar 24
2
Multi-panel Pie Charts.
Hi All,
I'm trying to find out a way to plot multi-panel pie charts. It may not be
the best way to present data, but I would still need one.
1. Is anyone aware of some in-built script/function which can do this for
me. I'm aware of one given in Deepayan's book, but anything apart from this?
2. I tried using Deepayan's script on following data set but it doesn't seem
to work
2011 Apr 10
2
Webalizer and GeoIP?
I have a small problem with webalizer. I use it to analyze logs of a small web
server hosting a single site, and the only thing I am interested in from
webalizer is the piechart diagram it produces about the geographic
distribution of people visiting the site.
However, the piechart it produces gives me a very crude information, with 50%
or so of visitors belonging to "unresolved",
2009 Nov 29
1
Roman numerical output
I have integers and I want R to give them back/output as Roman numerals:
s=c(7,17)
format(s,roman=T)
is obviously wrong. Is there any other way/function to do this?
Thanks,
Thomas
2008 Oct 16
1
draw a 5cm x 3cm rectangle
Hi I want to draw sth in a pdf file with a predefined defined size.
Say a 5cm x 3cm rectangle (a ruler):
pdf("rect.pdf", paper="a4")
plot(c(1,5,5,1,1),c(1,1,3,3,1),asp=1,axes="n")
dev.off()
but how do I fix that one unit is 1cm?
Thanks
thomas
2009 Aug 02
1
package to convert coordiantes to timezone
Is there a R-package with a function that returns me the timezone, if
I hand over longitude and latitude?
I know online services like
http://ws.geonames.org/timezone?lat=-38.01&lng=147 and
http://www.earthtools.org/webservices.htm#timezone and wodner if this
exists for R too.
Thanks for helping,
thomas
2010 Jun 04
1
strange behaviour of CairoPNG
Hi,
could it be that the text() fuction gives different output for normal
png() and CarioPNG()?
See the following example and the attached images: the font=2 and
font=3 seem to be exchanged!
Thanks for help,
Thomas
CairoPNG("Test-cairo.png",width=750,height=690)
#png("Test-normal.png",width=750,height=690)
plot(1,1,type="n",main="normal")
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
2001 Aug 16
1
Pie Chart
I've just started using R and I would like to know how to do a pie
chart; The "pie" comand does not exist in the R I am using, why?
Thanks,
Marcos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20010816/b44c5388/attachment.html
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=
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