Hi Eliza,
How about this:
library(plotrix)
plot(0,type="n")
draw.arc(rep(0,6),seq(0.1,0.6,by=0.1),radius=0.05,
angle1=3*pi/2,angle2=5*pi/2)
Jim
On Sun, Jun 25, 2017 at 9:34 PM, Eliza B wrote:
> Dear useRs,
>
>
> I am to teach my students some drawing techniques in R. I started shape of an
> h
I forgot to mention that a circle with radius 0.05 cannot go from
(0,0.6) to (0,0.1), that's why I've changed the radius to 0.25, half the
distance between those points. I also chose the center point.
Rui Barradas
Em 25-06-2017 19:45, Rui Barradas escreveu:
Hello,
I'm not the greatest graphi
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, m
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 dr
4 matches
Mail list logo