[R] vertical semi-circles in R
ruipbarradas at sapo.pt
Sun Jun 25 20:45:33 CEST 2017
I'm not the greatest graphics programmer but is this it?
library(shape) # for function plotcircle
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 package shape, at an R prompt I typed
No documentation for ‘circle’ in specified packages and libraries:
you could try ‘??circle’
so I tried ??circle and found the package. The rest took me less than 10
minutes. (Less than 5?)
Hope this helps,
Em 25-06-2017 12:34, Eliza B escreveu:
> Dear useRs,
> I am to teach my students some drawing techniques in R. I started shape of an handle by using the following codes;
> The coding will draw a section of a handle. Now I want to draw semi circles of radius 0.05 between (0,0.6) and (0,0.1), oriented vertically and outward with mouth facing against the y-axis.
> I tried every help available online but to no use.
> Thanks in advance,
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help