Displaying 20 results from an estimated 3000 matches similar to: "Colouring a grid segment"
2003 Aug 15
0
Re: [R} stars graphs
I thought about that star graph again, and realized that it would be quite
a handy thing for visualizing cyclic data like time or compass direction.
Here is a cleaned up (and renamed) version to do a polar plot that starts
at the right and goes counterclockwise or a 24 hour clock plot that starts
at the top and goes clockwise. There are probably other varieties that
would be interesting.
Jim
2006 May 19
1
trouble with plotrix package
Hello list,
I wrote a simple program to plot data on polar axes, taking advantage of
the plotrix package and its function radial.plot. The basic plot works
fine, but I am having difficulties with the formatting. There are three
problems, but I thought I would attack them one at a time. Here is the
first:
If my data set contains values with all vector lengths between 0 and 100
(and various
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',
2012 Oct 26
2
Grid Width in polar.plot
Hello,
I am using the polar.plot function from plotrix.
Is there a way to change the width of the grid lines?
grid.lwd doesn't work....
Thanks
Martin
--
View this message in context: http://r.789695.n4.nabble.com/Grid-Width-in-polar-plot-tp4647547.html
Sent from the R help mailing list archive at Nabble.com.
2010 Jun 03
1
plot polar coordinates
Hi,
I'd like to plot in in polar coordinates a line which is given as a
vector of lengths and angles.
library("plotrix")
2009 Oct 30
2
polar.plot
Hi,
Two questions:
1 - Say I have average speed and directions for tide and I would like to
plot them on a polar plot, but with different colors so I can indicate the
two directions. I'm using polar.plot from the plotrix library. How can I add
a second "b" and "dir.b" series to a polar.plot?
library(plotrix)
a = 3
dir.a = 85
b = 4
dir.b = 250
polar.plot(a, dir.a, start =
2010 Sep 13
1
Transparent Labels for Polar Plot
Hello,
I am currently using the polar.plot function in the plotrix package to graph data. Unfortunately, it seems that the default for the labels is to have a background color that is covering the line representing my data, making it difficult to read. Is there a way to make this label background transparent?
Example:
lengths <- 0:72
bearing <- seq(from=0, to=360, by=5)
2005 Feb 16
1
panel/prepanel for polar plots ala xYplot
First a bit of background:
After doing a search for a flexible polar plot function and coming up
empty, I have begun writing one myself. Since I am new to writing
mid-level graphics routines, this has required some learning about
lattice, grid and related things.
I am to the point where I have a workable proof of concept, but still
need to make some improvements. My goal is to have
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
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
2011 Jun 27
3
Creating a Polar Plot with expanding points as radius increases
I'd like to create a polar plot similar to those created by the polarFreq
function in the openair package. However, this package seems to be specific
to wind speed and direction, and requires a "ws" (wind speed) and a "wd"
(wind direction) column. My data is unrelated to wind speed, but I'd like
to be able to get a plot that does what polarFreq's plots do; I'd
2002 Oct 17
0
Polar plot, circular plot (angular data)
Dear R-users,
Hereby a polar plot function for plotting angular data. I hope it will be usefull for some of you.
I had a need to plot frequencies of wind-directions. The not-that-cheap SigmaPlot software did not allow me to change the orientation of the angular axis to clockwise orientation (what is used for meteorological observations). I even tried the latest version availible at the time
2012 Dec 31
2
code to convert 3D geographical coordinates to Cartesian?
Is there packaged code to convert geographical coordinates (e.g.,
longitude, latitude, elevation) to Cartesian coordinates in 3-space?
I can see how to do this using
1. a spherical-to-Cartesian conversion like pracma::sph2cart(tpr)
http://cran.r-project.org/web/packages/pracma/
2. a geographical-to-spherical conversion. This seems to involve (in
roughly increasing order of difficulty or
2007 Jul 17
1
Missing value in circ.mean and polar.plot
Hi,
I try to compute circular means for a matrix with NAs, but the function "circ.mean" return only means for lines with complete values and do not accept "na.omit=T" or "na.rm=T", or "na.action=na.omit", or "na.fail=T".
Also, I try to use "polar.plot" of the package poltrix with the same matrix, but angles are not display because of
2002 Nov 08
0
Polar plot, circular plot (angular data): II
Dear R-users,
As noted by Paul Murrell < p.murrell at auckland.ac.nz > there is errors in the code for polar plotting I send to R-help under the title "Polar plot, circular plot (angular data)" at Thu Oct 17 2002 - 12:18:20 CEST.
Thanks!
I have reorganized the code into a structure ('pp'). This allows plots to be modified to a greater extent by passing arguments by ...
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")
2001 May 27
3
plotting circles
I'd like to make some polar plots with R, but I can't seem to find anything
designed to help with that. Is there anyway to get a real polar mode, where
instead of x and y you have r and theta? How about a way to draw a circle?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2010 Oct 06
1
Display an image defined on a polar grid [SEC=UNCLASSIFIED]
Dear R-help,
I have a matrix of data values specified in polar coordinates, i.e. (r,theta).
I know that I can transform this image to Cartesian coordinates and then use image to display the results, however, I want to display the image as is, without any coordinate transformations. This would require displaying individual "pieces of pie" colour-coded by their data value.
A comparable
2012 Apr 18
2
polar.plot "add" argument
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20120418/b8ae2cdf/attachment.pl>
2008 Feb 28
1
Errors melt()ing data...
Hi,
I'm trying to melt() some data for subsequent cast()ing and am
encoutering errors.
The overall process requires a couple of casts()s and melt()s.
########Start Session 1##########
## I have the data in a (fully) melted format and can cast it fine...
> norm1[1:10,]
Pool SNP Sample.Name variable value
1 1 rs1045485 CA0092 Height.1 0.003488853
2 1 rs1045485