powered by
scale_linetype(..., na.value = "blank") scale_linetype_continuous(...) scale_linetype_discrete(..., na.value = "blank")
name
breaks
labels
na.value
limits
guide
discrete_scale
NA
base <- ggplot(economics_long, aes(date, value01)) base + geom_line(aes(group = variable)) base + geom_line(aes(linetype = variable)) # See scale_manual for more flexibility
Run the code above in your browser using DataLab