New stocks description
In this exercise, you will review plotting multiple graphs on the same graphical window.
The new dataset data
containing four new stocks is available in your workspace:
- Goldman Sachs (GS)
- Coca-Cola (KO)
- Walt Disney (DIS)
- Caterpillar (CAT)
This exercise is part of the course
Visualizing Time Series Data in R
Exercise instructions
- Plot all four stocks in the order given in the assignment text on the same graphical window in a 2x2 layout making the character size and the margin size 80% of their normal sizes
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Plot the four stocks on the same graphical window