Displaying 20 results from an estimated 1000 matches similar to: "Pie chart"
2009 Mar 10
1
North Arrow (.png file) on a Map
Hi list.
I would like to know how do I insert a North arrow, stored as a png file in
my computer, in a map? I found lots of post asking similar things, one of
them mentioned the pixmap package. The map was done using map() and
shapefiles (the code is below). I’m using the pixmap () and addlogo()
functions. Well I can import the png with pixmap() function (I guess, once
there’s no error message),
2010 Feb 08
1
About scales in graphics
Hi,
I'm building two graphics just changing the scale to show
the graphic illusion.
The first graph would be 'correct'.
atend = c(410,430,450,408,408,405)
names(atend) = c('Janeiro', 'Fevereiro', 'Mar?o', 'Abril',
'Maio', 'Junho')
barplot(atend, las=1, xlab='Meses', ylab='N?mero de
atendimentos',
2010 Feb 05
1
About graphics
Hi,
I'm building a graph (barplot) in which the X axis label
disappears.
I tried to use the option mgp of par() and I could not get
the desired result.
Note that want the axis labels horizontally.
caes = c(37,20,19,16,75,103)
names(caes) = c("Pinscher", "Pastor \n Alem?o", "Poodle",
"Rottweiller", "SRD", "Outros")
caess =
2006 May 02
1
Math expressions in pie chart labels?
Hello,
trying to get something like this to work and am failing:
pie(
c(length(strongN14),length(weakN14),length(weakN15),length(strongN15),length(ambiguous)),
labels = c(>= 0.66, >= 0.33, <= -0.33, <= -0.66),
col = c("#9999FF","#0000CC","#009900","lightgreen","white")
)
Can't figure out a way to display the 'greater or
2015 Jun 16
4
Ayuda boxplot ggplot2
Hola a todos
Me gustaría saber si me pueden ayudar con lo siguiente.
Realicé un Boxplot usando ggplot2 para visualizar el comportamiento de dos
variables. Visualmente no se notan las diferencias porque la gráfica de la
derecha (parásitos en el abdomen) llega hasta 20 en el eje y. ¿Cómo puedo
hacer para que las dos gráficas muestren la misma escala en el eje Y, es
decir, que las dos lleguen a 60?
2007 Nov 05
1
Help with Error Message
Hoping someone can offer me some assistance. I'm trying to execute a script
and I keep getting this error message about "Error: element 12 is empty".
I'm wondering if my syntax is incorrect within legend.list. If anyone has
any suggestions to sees something obvious that I am missing, I would greatly
appreciate any help.
Many Thanks,
Patrick
> # These are the symbols and
2012 Feb 28
1
Dotplot edition
Hi everyone,
Im very new with R and I would like to change the size text (names) in the ylab in a dotplot. I have checked many webpages and R sites, but I have not found any help.
This is the same structure of the plot in R graph Gallery: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=150
thanks in thanks is advance
José
Mi code is this:
### setup the key
k <- simpleKey( c(
2017 Jun 01
2
Question on function "scatterplot3d"
Hi all,
I have a question with regard to making plots using function
"scatterplot3d".
Please see the example below. It looks like, for y axis, the tickmark text
was cutoff.
The number "10" does not show up completely. I tried to work with par(mpg).
It does not
seem to work. Hope to get some advice here. Thanks much!
Hanna
C <- runif(30)
B <- rep(1:3, each=10)
A
2012 Mar 19
1
Dotplot: how to change size in the y lab ?
Hi everyone,
I'm trying to reduce the font size in the Y exe in this plot:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=150
Anyone knows how to do it?
I have checked the argument lab.cex and cex, but any of these works!
if you want to check us this code:
### read the data
d <- read.csv( file( "http://addictedtor.free.fr/graphiques/data/150/data.txt" ) )
2017 Jun 01
2
[FORGED] Re: Question on function "scatterplot3d"
On 01/06/17 13:17, Ismail SEZEN wrote:
>
>> On 1 Jun 2017, at 03:41, li li <hannah.hlx at gmail.com> wrote:
>>
>> Hi all,
>> I have a question with regard to making plots using function
>> "scatterplot3d".
>> Please see the example below. It looks like, for y axis, the tickmark text
>> was cutoff.
>> The number "10"
2006 May 23
1
shapes in rgl
Does anyone have a way of producing solid shapes other than spheres in
rgl? I am using rgl to produce a simple visualisation of a forest model
results using "lollipops". Its just a bit of fun, but as many of the
trees are pines I would like to depict their crowns as cones. If there
is a solution I need it to work under windows.
Here is the example.
library(rgl)
library(misc3d)
2007 Sep 17
3
Histogram with colors
Is there a simple way to plot a histogram with colors?
For example, suppose I generate random points in the
N(2,1) distribution:
x <- rnorm(100000, mean = 2, sd = 1)
Now I would like to plot the histogram:
hist(x)
but I would like to show the bars with x < 0 in red, and the
bars with x >= 0 in lightgreen. Is there any simple way to
do it?
I think I can do it in two steps:
2017 Jun 01
0
Question on function "scatterplot3d"
> On 1 Jun 2017, at 03:41, li li <hannah.hlx at gmail.com> wrote:
>
> Hi all,
> I have a question with regard to making plots using function
> "scatterplot3d".
> Please see the example below. It looks like, for y axis, the tickmark text
> was cutoff.
> The number "10" does not show up completely. I tried to work with par(mpg).
> It does not
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",
2013 Jan 22
1
how to give a lengend in symbols functions
hi Rusers
I am trying to use symbos in gtools package
symbols(data1,data3,circle=data1/data3,inches=0.1,bg="lightgreen")
Now I want to give a lengend to tell the reader the meaning or magnitude of
these circle.
How can I add these information in symbols plot just like legend in plot ?
thank you .
--
TANG Jie
Email: totangjie@gmail.com
Tel: 0086-2154896104
Shanghai Typhoon
2004 Oct 26
1
Secondary y axis
Hi
I had a look at the help and previous discussions but I am
still unable to solve these issues:
1
I have a set of air pressure data. I would like to
plot a and b (both about 980-1000 millibar) and c, the difference
(around 0-8 millibar). I use axis (4) to create a new axis (to the right)
but I do not know how to assign c to the new axis which currently
features the same values as the first
2013 Apr 10
6
means in tables
Hi.
I have 2 tables, with same dimensions (8000 x 5). Something like:
tab1:
V1 V2 V3 V4 V5
14.23 1.71 2.43 15.6 127
13.20 1.78 2.14 11.2 100
13.16 2.36 2.67 18.6 101
14.37 1.95 2.50 16.8 113
13.24 2.59 2.87 21.0 118
tab2:
V1 V2 V3 V4 V5
1.23 1.1 2.3 1.6 17
1.20 1.8 2.4 1.2 10
1.16 2.6 2.7 1.6 11
1.37 1.5 2.0 1.8 13
1.24 2.9 2.7 2.0 18
I need generate a table of averages, the
2012 Sep 26
3
Reading multiple files
Hi,
I have 35 data files for reading. I would like get a program for
performing reading of 35 files at once.
All are of the type: Dados1.raw, Dados2.raw and so on.
If the files have the same number of columns, I can read with the
following commands:
rm(list=ls())
filenames = list.files(path="~/Silvano/Arq", pattern="Dados+.*raw")
names = substr(filenames, 1, 7)
for(i in
2010 May 05
3
Latex and Stangle()
Hi,
I'm using the Sweave and I would like include codes of the R
in my LaTeX file.
I extracts the R code with Stangle (), whose name is
Relatorio.R but I can't include it
in the Latex file as an appendix.
Suggests?
Thanks,
--------------------------------------
Silvano Cesar da Costa
Departamento de Estat?stica
Universidade Estadual de Londrina
Fone: 3371-4346
2010 Aug 13
3
Games
Hi,
I want to build the table of a football league with 11
teams. All play together. So will 55 games.
Since there are an odd number of teams in each round a team
will not play.
The games will be:
games = urnsamples(1:11, x =
c('A','B','C','D','E','F','G','H','I','J','K'), size=2,
replace=F,