Displaying 20 results from an estimated 9000 matches similar to: "plotting circles"
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
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 ...
2010 Jul 19
5
par("uin") ?
I inherited a function written either for an older version of R or SPlus
to draw a brace, "{", in a graph. It uses par("uin") to determine the
scaling of the
quarter circles that make up segments of the brace, but that setting
doesn't
exist in current R.
I'm guessing that, in the function below, ux, uy can be defined from
par("usr") and
2013 Mar 05
2
Function completely locks up my computer if the input is too big
Dear r-help,
Somewhere in my innocuous function to rotate an object in Cartesian space
I've created a monster that completely locks up my computer (requires a
hard reset every time). I don't know if this is useful description to
anyone - the mouse still responds, but not the keyboard and not windows
explorer.
The script only does this when the input matrix is large, and so my initial
2012 Oct 08
1
3d polar coordinates in rgl function view3d()
Dear all:
I'm enjoying using rgl and I want to set a specific viewpoint.
I understand that view3d() will do so by setting the 3d polar
coordinate angles, theta and phi.
In standard polar coordinates, theta is the angle away from the X axis
in the X-Y plane and phi (inclination angle) is the angle between the
Z axis and the radius vector
It appears that when you use view3d() theta is
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
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
2009 Jul 09
1
Creating and Using Objects in R
Dear All,
I am not very into object-oriented programming, but I would like to
learn the ropes for some R applications.
Quoting from the online R language definition (paragraph 5.1)
> Consider the following simple example. A point in two-dimensional
> Euclidean space can be specified by its Cartesian (x-y) or polar
> (r-theta) coordinates. Hence, to store information about the location
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
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
2018 Oct 15
2
sys.call() inside replacement functions incorrectly returns *tmp*
Kia Ora
> Although I'm not sure what problem it would solve...
Given that you asked, I was interested in writing a multiple assignment
function as a replacement function, so something like:
massign (x, y, z) = construct.some list ()
Obviously, that's not possible.
Probably the best example I can think of is converting cartesian
coordinates to polar coordinates.
Then we might have
2012 Aug 15
1
shade overlapping portions of circles (or other shapes)
I'm making some illustrations and it would be convenient to
automatically shade the overlapping portions of circles. These
illustrations are for Social Choice theory, a field in political
science and economics. I've wrestled together some examples so you
can see what I mean, but have not mastered the "color overlapping
sections" problem (as you will see):
2017 Jun 22
0
3D plot with coordinates
Thanks. So after searching 4 hours last night it looks like that there is no R package that can do this right now. Any other ideas or suggestions might be helpful.RegardsAlex
On Wednesday, June 21, 2017 3:21 PM, Alaios via R-help <r-help at r-project.org> wrote:
Thanks Duncan for the replyI can not suppress anything these are radiation pattern measurements that are typically are
2017 Jun 21
2
3D plot with coordinates
Thanks Duncan for the replyI can not suppress anything these are radiation pattern measurements that are typically are taken at X,Y and Z planes. See an example here, where I want to plot the measurements for the red, green and blue planes (so the image below withouth the 3d green structure inside)https://www.researchgate.net/publication/258391165/figure/fig7/AS:322947316240401 at
2012 Mar 28
5
plot points using circles filled half in red and half in blue.
I want to plot many points and want to use circles. The filling color
depends on variable a. if a=1, then not fill
if a=2 then fill with red, if a=3 then fill with blue, if a=4, fill
half with red and half with blue. Can anyone tell me how to plot the
case "a=4"? Thanks a lot
2018 Oct 15
4
sys.call() inside replacement functions incorrectly returns *tmp*
Kia Ora
Let's say we have:
"myreplacementfunction<-" = function (..., value)
{ call = sys.call ()
print (as.list (call) )
0
}
Then we call:
x = 0
myreplacementfunction (x, y, z) = 0
It will return:
[[1]]
`myreplacementfunction<-`
[[2]]
`*tmp*`
[[3]]
y
[[4]]
z
$value
<promise: 0x06fb6968>
There's two problems here.
Firstly, x has to be defined otherwise we
2011 Nov 01
2
drawing ellipses in R
Hello,
I have been following the thread dated Monday, October 9, 2006 when Kamila Naxerova asked a question about plotting elliptical shapes. Can you explain the equations for X and Y. I believe they used the parametric form of x and y (x=r cos(theta), y=r sin(theta). I don't know what r is here ? Can you explain 1)the origin of these equations and 2) what is r?
Sincerely,
Mary A. Marion
2017 Jun 25
2
Writing my 3D plot function
Hi all,I had a question last week on asking for a function that will help me draw three different circles on x,y,z axis based on polar coordinates (Each X,Y,Z circle are coming from three independent measurements of 1-360 polar coordinates). It turned out that there ?is no such function in R and thus I am trying to write my own piece of code that hopefully I will be able to share. I have spent
2008 Mar 26
4
Want to draw 3D cylinder objects
Hello,
I want to draw 3D cylinder objects in R.
Given is the length and the diameter of the cylinder.
Has anybody an example?
Thank you very much!
Best regards
--
----------------------
Dr. Hans-Joachim Klemmt
Forstoberrat
Organisationsprogrammierer IHK
Bayerische Landesanstalt f?r Wald und Forstwirtschaft
zugewiesen an
Lehrstuhl f?r Waldwachstumskunde
Technische Universit?t M?nchen
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