Graphics

In this unit, you will learn how to add and modify basic plots,

Follow the links to each lecture, lab, and reading.

Scroll down to download the SWIRL lessons.

Lesson 1. Making basic plots

Learning Goals:

Lecture: Principles of graphic design

Demo: demo1

SWIRL: Plotting Data

Reading:

Lab: Unit 5: lab 1

Functions:

Lesson 2. How to modify standard plots

Learning Goals:

Lectures:

Reading:

SWIRL: Modifying default graphs

Exercises: Unit 5 Exercises

Lab: Unit 5: lab 2

Functions: plot(), par().

Lesson 3. How to add elements to plots

Learning Goals:

Lectures:

Reading:

SWIRL: Adding To Plots

Lab: Unit 5: Lab 3

Functions: abline(), text(), mtext(), points(), legend(), mfrow(), mfcol(),

Lesson 4. How to encoding values in graphics

Learning Goals:

Lecture:

Reading:

SWIRL: Plotting Colours

Lab: Unit 5: Recap

Functions: palette(), pdf(), png()

Further reading

Wilke, C. 2019. Fundamentals of Data Vizualization: A Primer on Making Informative and Compelling Figures

Healy, K. 2018. Data Visualization: A Practical Introduction

https://www.edwardtufte.com/tufte/

Stephen Few’s books and blog