Basic-Plot
Sat 17 May 2025
title: "Basic Plot" author: "Rj" date: 2019-05-06 description: "List Test" type: technical_note draft: false
import matplotlib.pyplot as plt
x = [1, 2, 3, 4]
y = [2, 4, 9, 16]
x, y
([1, 2, 3, 4], [2, 4, 9, 16])
plt.plot(x, y, 'ro')
plt.axis([0, 10, 0, 20])
[0, 10, 0, 20]

Score: 5
Category: plot