Displaying 20 results from an estimated 10000 matches similar to: "Question re the plotrix package"
2011 Apr 11
1
Polar Plots
Dear List,
Following the link below (
http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=plotrix:clock24.plot) I got an
interesting polar plots which displayed my data and the time of observation.
Thank you very much for providing such details.
However, I have two set of data which I wish to display in the same polar
plot. I tried using points to add the second data but could not succeed.
That is,
2016 Apr 21
2
clock24.plot/radial plot
Dear All,
I am trying to generate a circular/radial plot. The script below has a
result I am looking for:
testlen<-rnorm(24)*2+5
testpos<-0:23+rnorm(24)/4
clock24.plot(testlen,testpos,main="Test Clock24 (lines)",show.grid=FALSE,
line.col="green",lwd=3)
if(dev.interactive()) par(ask=TRUE)
# now do a 'daylight' plot
2016 Apr 22
2
clock24.plot/radial plot
Kind Experts,
Many thanks for your guide. I have tried to figure out something that
can help me plot my own data using the examples you referred me to. I
copied part of the code as:
set.seed(44)
N=500
events <- as.POSIXct("2011-01-01", tz="GMT") +
days(floor(365*runif(N))) +
hours(floor(24*rnorm(N))) + # using rnorm here
2016 Apr 22
0
clock24.plot/radial plot
I use ggplot2 for all my plotting needs where you can make plots circular
with the coord_polar. Maybe this will help you along:
http://rstudio-pubs-static.s3.amazonaws.com/3369_998f8b2d788e4a0384ae565c4280aa47.html
On Fri, 22 Apr 2016 at 08:31 Ogbos Okike <giftedlife2014 at gmail.com> wrote:
> Dear All,
> I am trying to generate a circular/radial plot. The script below has a
>
2016 Apr 22
0
clock24.plot/radial plot
Looks like you forgot to load the lubridate package
library(lubridate)
You are calling functions days(), hours(), minutes(), seconds(), and hour() which all come from that package.
-------------------------------------
David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77840-4352
-----Original Message-----
From: R-help [mailto:r-help-bounces at
2007 Aug 20
1
polar.plot orientation and scale in plotrix
Hello all-
I would like to orient my polar.plot (from package plotrix) so that the
circular scale runs clockwise and the origin (ie. 0 degrees) starts at the
top of the plot. The defaults of running the scale counter-clockwise and
beginning with 90 degrees at the top of the graph seems counter-intuitive to
me.
I'm using R 2.5.0, and plotrix version 2.2-4.
Many thanks,
Tim
2016 Apr 29
0
clock24.plot/radial plot: Fixed
Dear All,
This problem is over. Clock24.plot did the job. Thanks to all those who
assisted me.
Ogbos
On Apr 22, 2016 8:34 PM, "Ogbos Okike" <giftedlife2014 at gmail.com> wrote:
> Dear All,
> One hand. Many thanks!! The code run as soon as I loaded lubridate.
>
> Please can you guide me on how to relate this code to my actual data.
> My actual data is looking like:
2011 Jun 07
3
Representacion gráfica de 8 categorías
Hola,
Estoy buscando una representación gráfica similar a la que da: ternatyplot
del paquete vcd :
data(Lifeboats)
attach(Lifeboats)
ternaryplot(
Lifeboats[,4:6],
pch = ifelse(side=="Port", 1, 19),
col = ifelse(side=="Port", "red", "blue"),
id = ifelse(men/total > 0.1, as.character(boat), NA),
main = "Lifeboats on Titanic"
)
Pero
2016 Apr 22
0
clock24.plot
Hi Ogbos,
Here is your sample data plotted in roughly the same way as the image.
You can get the hours to start at the bottom, but it will require more
code.
swe$hour<-as.numeric(sapply(strsplit(swe$time,":"),"[",1))
swe$FD<-sample(1:2,nrow(swe),TRUE)
library(plotrix)
clock24.plot(swe$count,swe$hour,rp.type="s",radial.lim=c(3000,4010),
2007 May 01
2
Polar graph of time and tide
I have been trying to visualize times of lowest tides, month by month.
I have tide predictions with times either in unix time or a text
format, and heights in feet or meters. I had been able to derive the
clock times of each prediction. I would now like to graph this data
with points showing heights as "r" and times as "theta", from 0000 to
2355. There is a seasonal
2005 Jun 22
2
A polar.plot BUG in plotrix 1.3.3 ?
Hi,
I just updated to R-2.1.1 and updated packages acordingly
However, after the update, routines that use polar.plot
did not function as correctly.
In plotrix 1.3.3 the polar.plot function does scale label.pos
to radians prior to calling radial.plot
Hence, the command
polar.plot(c(5,10,5,0),c(-10,0,10,20),rp.type='P',
2007 Feb 14
1
symbols hidden in polar.plot
Hi Folks,
Here is my attempt at a simple polar plot.
> pos <- seq(0,360,by=5)
> tspk <- rep(c(1,0,1),c(13,47,13))
> require(plotrix)
> polar.plot(tspk,pos,rp.type="s",point.symbols=17,point.col="green4")
I only see half the symbols, the other half of each symbol is hidden
under the circular grid. In fact if I change rp.type="r", I see the
2010 Jul 18
5
package "plotrix"
I installed package plotrix because reading its vignette it looks like it can help me solve a "legend" problem.
The package instaleed correctly on my Mac OS/X 10.5.8
But I cannot reproduce the examples centered on function "lgendg".
> library(plotrix)
> plot(0.5,0.5,xlim=c(0,1),ylim=c(0,1),type="n",
+ main="Test of grouped legend function")
>
2012 May 15
9
help
1. Emma is performing an experiment that requires individual handling of some animals. The sizes of the animals are lognormally distributed: The natural logarithms of their sizes has a normal distribution with mean 3 and standard deviation 0.4. The time (in minutes) it takes to handle each animal is given by
10 + s · 1.5 + eε for animals with s ≤ 20 20 + s · 0.8 + eε for animals with s > 20
2011 Jan 01
3
Plot symbols: How to plot (and save) a graphic symbols originating from a table
Dear all,
Please, I have a doubt regarding symbol plotting
with data originating from a table.
Please, see below:
I have a tab delimited file called table1.txt with 4 columns:
ypos animal var1 var2
5 cat gina <= lady gina \u2264 lady
7 dog bill >= tony bill \u2265 tony
9 fish dude <= bro dude \u2264 bro
#I then load in the data to R:
table1<-read.table("table1.txt",
2010 Nov 23
2
overlay histograms on map at map coordinates
Hi all,
I'm trying to visualize animal movement data characteristics
spatiotemporally by overlaying many different histograms on a map. I
want the histograms to be plotted at coordinates in the map that
matches a region they describe. If I was just doing this once, I'd
fiddle in Illustrator after R and avoid the headache. But I'll be
doing it many many times so it seems
2009 Aug 09
1
plotrix: reverse axis in polar.plot
Hi,
how can I reverse the radius axis of plotrix's polar.plot function?
Perhaps this sounds strange, but I use the radians for angles as well:
In the center is zenith and the corresponding angle is 90?, not 0. See
an example plot at
http://www.mysundial.ca/tsp/images/sun_chart_50_solar_polar.jpg
dirs<-c("S","E","N","W")
2008 Jun 04
2
Creating a "simple" Radar/Spider Plot from Statgraphics
I'm new to R - and trying to create a plot similiar to the spider plot at
http://www.statgraphics.com/eda.htm#radar .
I can't figure out several things... most of which I would think would be
straightforward....
How can I change the lines for each series plotted instead of creating a
filled area?
How can I get the labels for each of the radial axes at the outside of the
plot
2009 Apr 20
2
plotCI (plotrix) problem
I am attempting to create a plot with intervals "stretched" in the
x-direction using plotCI() in the plotrix package. The same data
provides an appropriate set of intervals when "stretched" in the
y-direction but I only get a lower interval when "stretched" in the
x-direction.
The data are as follows
mns <-
2008 Apr 29
1
generic question ==>> mapping Longhurst biogeochemical ocean provinces in R
*Hello all
**
I am a newbie to R plotting maps. I am trying to plot over a world map a
layer of Biogeochemical provinces (BGCP) by A.R. Longhurst. Each ocean
region unfortunately are quite irregular in shape (not perfect squares). In
GIS this layer of ocean provinces would be a layer of polygons, which I am
assuming it cannot be plotted with R.
I was wondering If anybody has encounter this