Warning: The `<scale>` argument of `guides()` cannot be `FALSE`. Use "none" instead as
of ggplot2 3.3.4.
pat_long<-teg_test_patterns|>filter(Block==1,Phase==1)|>select(id, condit, Category,Phase, item_label,trial,Block,Pattern.Type, x1:y9)|>group_by(id, trial,item_label,condit, Category,Phase, Pattern.Type)|>gather(key ="coordinate", value ="value", -id,-Phase,-Block, -condit,-trial,-item_label, -Category,-Pattern.Type)%>%separate(coordinate, into =c("axis", "number"), sep =1)%>%spread(key =axis, value =value)%>%mutate(number =as.integer(number))pat_long|>ggplot(aes(x =x, y =y,col=Pattern.Type))+geom_point()+# Add dotsggh4x::facet_wrap2(~trial+item_label)+# Create a grid of plots, with subjects by rows and categories by columnspat_themes+labs(title="Prototypes from Category 1 - with distortions")
Attempt flip to match MATLAB - this works
pat_long|>mutate(y=-y)|>ggplot(aes(x =x, y =y,col=Pattern.Type))+geom_point()+# Add dotsggh4x::facet_wrap2(~trial+item_label)+# Create a grid of plots, with subjects by rows and categories by columnspat_themes+labs(title="Prototypes from Category 1 - with distortions")