Displaying 2 results from an estimated 2 matches for "plotcircl".
Did you mean:
plotcircle
2017 Jun 25
0
vertical semi-circles in R
Hello,
I'm not the greatest graphics programmer but is this it?
#install.packages("shape")
library(shape) # for function plotcircle
plot(0,0,col="white")
segments(0,0,0.3,0.3)
segments(0.3,0.4,0.3,0.3)
segments(0.3,0.4,0,0.7)
segments(0,0.7,0,0.6)
segments(0,0.0,0,0.1)
plotcircle(r = 0.25, mid = c(0,0.35), from = pi/2, to = -pi/2)
Note: you say you've tried every online help with no success. I had
never used...
2017 Jun 25
3
vertical semi-circles in R
Dear useRs,
I am to teach my students some drawing techniques in R. I started shape of an handle by using the following codes;
>plot(0,0,col="white")
>segments(0,0,0.3,0.3)
>segments(0.3,0.4,0.3,0.3)
>segments(0.3,0.4,0,0.7)
>segments(0,0.7,0,0.6)
>segments(0,0.0,0,0.1)
The coding will draw a section of a handle. Now I want to draw semi circles of radius 0.05