That works, I added pch="" and let the radius =0.03 and I get exactly what I
wanted. I understand the for loop much better now. Thank you so much for
your help Greg.
I could get all the x values into a list and the y values also but I could
not get them to work in the code that I had. I am rea
Apologies Greg for asking you more but what is tmp[,1] doing, I've tried
googling it and looking here for it but it's not making sense.
A
--
View this message in context:
http://r.789695.n4.nabble.com/Customise-a-symbol-in-a-scatterplot-with-for-loop-tp4687386p4687470.html
Sent from the R help
Thank you Jim, unfortunately I have tried so many variations at this stage
and still cannot do it. I am unable to make a list of the coordinates for
each of my polygons. I have made lots of different shapes! It is just exam
prep, so hopefully nothing like this will be on my exam.
Best
A
--
V
Thanks for the reply, this is actually not a homework question but a question
on a past paper. I am doing exam prep, is this allowed?
--
View this message in context:
http://r.789695.n4.nabble.com/Customise-a-symbol-in-a-scatterplot-with-for-loop-tp4687386p4687389.html
Sent from the R help mai
Hi,
I have the code below to generate a pentagon in R. I have generated a
regular scatterplot and need to draw a scatterplot with a pentagon at each
(x,y) position, for the radius use r x 0.3. The hint I've been given is
that I do not need to store the polygons in a list, simply construct and
dr
5 matches
Mail list logo