Displaying 20 results from an estimated 100 matches similar to: "Math expressions in pie chart labels?"
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),
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(
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" ) )
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?
2023 Feb 15
0
Question about italics in legendg() - plotrix
Hi Nicole,
plotrix is intended to be modular, that is, it builds plots step by step.
This makes it easier to understand code that you haven't written or haven't
seen for a while. Here is an example showing how to change the font using
par():
library(plotrix)
plot(0,type="n",xlim=c(0,1),ylim=c(-1,0))
par(font=3)
legendg(0.115,-0.055,legend=c("Pan
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)
2017 Jun 01
0
[FORGED] Re: Question on function "scatterplot3d"
A design flaw, whether the labels are cut depends somewhat on the sizce
of the device, hence there is the argument
y.margin.add
add additional space between tick mark labels and axis label of the y axis
for working around that limittation that can be set to some positive
value....
Best,
Uwe Ligges
On 01.06.2017 07:15, Rolf Turner wrote:
> On 01/06/17 13:17, Ismail SEZEN wrote:
>>
2011 May 19
1
Pie chart
I made a pie chart and the names of the levels are outside
the circle. How do I put the names of the levels within each
sector?
names(tab13) = paste(c('Regular', 'Bom', 'Excelente'),
round(100*prop.table(tab13), dig=1), "%")
pie(tab13, col=c("LightYellow", "lightgreen", 'lightblue',
'white'), clockwise=F, radius=.7)
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
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
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
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
2008 Dec 01
1
Help with lattice graphics
Hi,
I like the formatting and the appearance of lattice plots. But I have not succeeded in gettting the right format in my plots with the lattice package in one of my applications. In?the code shown below, I start by constructing a general data frame and show my attempts with the lattice package commands. After that, I use the graphics package and show the kind of plot that I want to get.
I would
2008 Jul 29
1
Xdefaults file.
I am trying to get my xterm window under gnome to open with large fonts,
with light green foreground and dark green background. I have the
following .Xdefaults file contents:
$ cat .Xdefaults
! This is a comment ;-)
#ifdef COLOR
*customization: -color
#endif
!! Let's cast a wide net, for any app supporting these
! Blink instead of beeping
*visualBell: True
*scrollTtyOutput: False
2000 Feb 29
0
mapping of colornames into hsv: half way done
Ok,
now we have the mapping of color names to color codes (see below) and
conversion to rgb (something like Ben Bolker's function), but how to convert
rgb to hsv?
Thanks to Brian Ripley, Peter Dalgaard and Ben Bolker
Details below
Regards
Jens
etc/colors.big maps 455 names to rgb in S syntax
etc/rgb.txt maps 657 names to rgb in C syntax, but unlike colors() it has
mixed upper and
2003 Aug 24
2
wxRuby 0.1.0 Alpha has been released!
http://rubyforge.org/project/showfiles.php?group_id=35&release_id=46
The code itself has been quite stable for several weeks. This release
includes Gour''s excellent MinGW README notes, along with various updates
to the README, and clarification of the LICENSE.
Thanks to everyone for your help in putting this together. It was
definitely a team project. I look forward to getting lots