overlay ggplot

20 views
Skip to first unread message

Paulo Eduardo Cardoso

unread,
Jul 23, 2010, 7:01:47 AM7/23/10
to ggplot2
I'm not being able to everlay two data sets using two different ggplot

the crude code:

g_arearadar <- ggplot(subset(data1, posicao == "1"), aes(x=V1,y=V2))+
geom_path()

direcT <- ggplot(data= subset(data2, Area != i & !is.na(class_ang)),
aes(x=X1,y=X2)) +
geom_point(size=0.01, alpha=0.1) +
coord_equal()+
stat_spoke(aes(angle = MediaCirc, colour = class_ang), radius =
500,
arrow = arrow(length = unit(0.05, "inches"))) +
scale_colour_manual("Classes", values = paleta_direc) +
opts(#legend.position = "none",
axis.title.x = theme_blank(),
axis.title.y = theme_blank())

Any idea will be appreciated

Hadley Wickham

unread,
Jul 23, 2010, 8:33:29 AM7/23/10
to Paulo Eduardo Cardoso, ggplot2
Could you please provide a _minimal_ reproducible example?

Hadley

> --
> You received this message because you are subscribed to the ggplot2 mailing list.
> Please provide a reproducible example: http://gist.github.com/270442
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
>

--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/

Paulo Eduardo Cardoso

unread,
Jul 23, 2010, 8:52:44 AM7/23/10
to Hadley Wickham, ggplot2
Sorry butt can we add attachments to the messages?

2010/7/23 Hadley Wickham <had...@rice.edu>:

--
_______________
Paulo E. Cardoso

Reply all
Reply to author
Forward
0 new messages