use lines
for the second one:
plot(density(MyData$Column1))
lines(density(MyData$Column2))
make sure the limits of the first plot are suitable, though.
More Related Contents:
- How to save a plot as image on the disk?
- How to set limits for axes in ggplot2 R plots?
- Shading a kernel density plot between two points.
- How to change legend title in ggplot
- Plot multiple boxplot in one graph
- Position geom_text on dodged barplot
- Plot with conditional colors based on values in R [duplicate]
- Replace X-axis with own values
- Plotting time-series with Date labels on x-axis
- Increase distance between text and title on the y-axis
- Getting LaTeX into R Plots
- Align ggplot2 plots vertically
- How to increase font size in a plot in R?
- R: 4D plot, x, y, z, colours
- Speed up plot() function for large dataset
- Colour points in a plot differently depending on a vector of values
- Is it possible to rotate a plot in R (base graphics)?
- Normalizing y-axis in histograms in R ggplot to proportion
- How to combine 2 plots (ggplot) into one plot?
- R Scatter Plot: symbol color represents number of overlapping points
- plot.new has not been called yet
- how to jitter/dodge geom_segments so they remain parallel?
- add text to horizontal barplot in R, y-axis at different scale?
- How to make geom_text plot within the canvas’s bounds
- Plot two graphs in a same plot
- Ordering of points in R lines plot
- Plot inside a plot
- Creating multi column legend in ggplot
- Adjust plot title (main) position
- Programmatically insert header and plot in same code chunk with R markdown using results=’asis’