Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
How to create two line charts in the same plot in R?
We can do this by using lines function after plotting the first chart.
Example
> x X1 X2 plot(x, X1, type="l",col="red", ylab="X") > lines(x, X2, col="green")

Advertisements
