similar to: Adding a legend to a symbol plot

Displaying 20 results from an estimated 20000 matches similar to: "Adding a legend to a symbol plot"

2012 Jul 18
3
'symbols' not plotting correct circle radii
Hi there. I have been plotting some circles using 'symbols', with radii representing my data, but the radii looked incorrect. It seems to happen with a single circle too: Symbols ( 0, 0, circles = 40, xlim = c(-40, 40), ylim= c(-40, 40)) If I put a ruler up to my monitor (technology!) to compare the radius with the axes, the circle isn't radius 40; it is closer to 15... I
2012 Oct 23
4
Changing radii line type in radial plots
Hello all, Is it possible to change the radii line type in radial plots? I wasn't able to find anything online. Thanks, Bern -- View this message in context: http://r.789695.n4.nabble.com/Changing-radii-line-type-in-radial-plots-tp4647238.html Sent from the R help mailing list archive at Nabble.com.
2007 Jul 24
1
How to add circular text for a graph with concentric circles
Dear R experts, I am plotting the population of students who live in a city, and in successive circular bands made of the contiguous districts that surround the city. This is a stylized figure, where I specify the area of each successive circle based on the cumulative population of students. I want to compare two sets of concentric circles across different populations - such as 'All
2002 Feb 20
2
Clustering and Calinski's index
I have to solve a clustering problem. My first step is to determinate the number of clusters, that's why I 'm using the Calinski index ( [tr(b)/(k-1)]/[tr(w)/(k-1)] ) which i try to maximize to have the best number of clusters. A function is already implemented in R to calculate this index : clustIndex(cl,x, index="calinski") where cl is the result of a clustering method ,
2017 Dec 31
2
Draw Overlapping Circles with shaded tracks
That code nees the plotrix package: library(plotrix) pdf("circles.pdf") plot(0:10,type="n",axes=FALSE,xlab="",ylab="") draw.circle(4,5,radius=3,border="#ff0000aa",lwd=10) draw.circle(6,5,radius=3,border="#0000ffaa",lwd=10) dev.off() On Friday, December 29, 2017, 6:06:32 PM EST, Jim Lemon <drjimlemon at gmail.com> wrote:
2017 Dec 31
0
Draw Overlapping Circles with shaded tracks
Another solution: library("HelpersMG") plot(0:10,type="n",axes=FALSE,xlab="",ylab="", asp=1) ellipse(center.x = 3, center.y = 5, radius.x = 5, radius.y = 5, lwd=10, col=NA, border=rgb(red = 1, green = 0, blue=0, alpha = 0.5)) ellipse(center.x = 8, center.y = 5, radius.x = 5, radius.y = 5, lwd=10, col=NA, border=rgb(red = 0, green = 1, blue=0, alpha =
2017 Dec 31
1
Draw Overlapping Circles with shaded tracks
Dear All: Thank you very much for all of you. I just have one more thing. Is there a way to fill the borders with small dots, may be different sizes. I tried to do it, but it looks ugly. Here what I tried: library(plotrix) plot(0:10, 0:10, type="n",axes=FALSE,xlab="",ylab="") #### 0:5, draw.circle(4,5,radius=3,border="#ff0000aa", lwd=75)
2009 Mar 04
5
Detect polyline relationship to map bounds?
I''m working on a mapstraction implementation modeled after the radius search feature. (http://mapstraction.com/demo-radius.php) I''d like to recognize when the user extends the radius beyond the visible edges of the map and adjust the zoom level. I''m not seeing how to test this when redrawing the circle. I thought maybe I wanted to use polylineCenterAndZoom()
2017 Dec 29
2
Draw Overlapping Circles with shaded tracks
Dear All: I am wondering if there is a way in R to draw these two circles with shaded tracks in both circles using R, and make both circles uncovered. I am trying to make it in MS words, but I could not. Your help will be highly appreciated. In my previous post I added the image of the two circles, but the post never published. I just thought to resent the post again without the image. with
2017 Dec 29
0
Draw Overlapping Circles with shaded tracks
Hi Abou, Without an illustration it's hard to work out what you want. here is a simple example of two circles using semi-transparency. Is this any help? pdf("circles.pdf") plot(0:10,type="n",axes=FALSE,xlab="",ylab="") draw.circle(4,5,radius=3,border="#ff0000aa",lwd=10) draw.circle(6,5,radius=3,border="#0000ffaa",lwd=10) dev.off()
2003 Nov 26
1
wishlist item: symbols() to accept asp argument? (PR#5328)
Here is a potential wishlist item for adding an argument (asp) to symbols(). The following code produces a postscript file with two pages; both should show a circle of radius 2 units. Horizonal and vertical arrows are drawn to check that the circle is of the correct radius; in the first plot, the circle is wrong. To fix this, I found that I needed to first set up the plot bounds, using xlim,
2002 Jun 03
1
symbols: zero radius circles are drawn.
Hi, I don't think this is a bug, but I thought I'd mention it in case others think it is not correct... I guess it is probably just a rounding error. If I use symbols() to draw some circles, any circle with radius of zero gets drawn as a small circle. As an example: postscript(file="test.ps") symbols(1:9, rep(2,9), circles=seq(from=0.05, to=0.0, length=9),
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
2010 Jul 17
1
Bug 14340 - Symbols() plots with wrongly scaled y-axis
Hello, I submitted this bug report to r-core and got a rejection saying I should post to r-help. This is my first time ever submitting a bug report, so forgive me if I'm using some wrong format. So, here's my bug report: Component: Graphics OS: Mac OS 10.5.8, X11 XQuartz 2.5.0 Summary: In the symbols function of the graphics package, scaling of the y-axis is wrong, causing symbols
2017 Oct 24
3
draw a circle with a gradient fill
Hi all,I would like to draw a simple circle where the color gradient follows the rule color = 1/(r^2) where r is the distance from the circle. I would also like to add a color bar with values going from -40 to -110 (and associate those with the color gradient that fills the circle). So far I experiemented with draw circle
2006 Dec 17
1
Draw a circle on a filled.contour() plot
Hi all, I'm trying to use symbols() to draw a circle of a given radius at a given position onto a filled.contour() plot. The commands I issue are: > filled.contour(y,x,z,levels=seq > (0.02,1.0,len=50),color.palette=colorRampPalette(c > ("blue","yellow","red")),title=title(main="",xlab="",ylab="")) >
2017 Jun 25
0
Writing my 3D plot function
Please look at what I see in your code below (run-on code mush) to understand part of why it is important for you to send your email as plain text as the Posting Guide indicates. You might find [1] helpful. [1] https://wiki.openstack.org/wiki/MailingListEtiquette -- Sent from my phone. Please excuse my brevity. On June 25, 2017 2:42:26 PM EDT, Alaios via R-help <r-help at r-project.org>
2010 Nov 28
1
Legend symbols mixed char and integer
Dear Gurus, R 2.11.1 on Windows XP. This is a problem in interaction between R and pdftex. I need to generate a plot with both open and filled circles. It is simple enough, using pch=1 and pch=16. The R pdf graphics output is going into pdftex 1.40.10 (MikTeX 2.8). The R pdf is correct when viewed in other viewers. However, pdftex fills the open circles. I can work around this problem by
2008 May 14
1
lw in legend also changes thickness of characters in the legend??
Here's a simple example: x <- 1:5 plot(x,x^2) lines(x,x^2) points(x,x,cex=2) lines(x,x,lw=3) legend("topleft",legend=c("y=x^2","y=x"),pch=1,pt.cex=1:2,lw=c(1,3)) The thickness of the circles in the legend changes with lw. If you change the lw argument in legend to lw=c(1,1) then the thickness of the circles goes back to normal. How can I make the above
2008 Jun 25
1
avoid using Dingbats symbols for points()
Hi, I came across with a tiny problem. E.g.: pdf() plot(1:5) points(2, 3, cex=10, pch=21, bg="grey", lwd=0.3) points(2, 4, cex=1, pch=21, bg="grey", lwd=0.3) dev.off() If I execute this I'll get a nice PDF. Fine. But I want to edit this PDF with let's say by using Adobe Illustrator. If I try to open it Illustrator shows up an error message: Missing Type 1 fonts