Posts by Paulo Victor • 1 point
2 posts
-
0
votes0
answers10
viewsQ: How do I adjust the origin of the axes (x,y) to the points (0,0) using ggplot in Rstudio?
PLOT: VARIATION OF VISCOSITY Visc_M5 <- read.csv("VISCOSIDADE.csv", header = T, sep = ";") g1 <- ggplot(Visc_M5) + aes(x=Uexp)+ geom_line(aes(y=Pexp, col = "Experimental"), size = 1.1) Visc2…
-
0
votes0
answers41
viewsQ: How do I make the legend of each curve appear in the graphic print area?
grafico <- read.csv("Pasta1.csv", header = F, sep = ";") library(ggplot2) Experimental <- ggplot(grafico)+ geom_line(size=1.2, aes(x=V1, y=V2))+ scale_fill_manual(values = c("Experimental" =…