© Bernard Korites 2023
B. KoritesPython Graphicshttps://doi.org/10.1007/978-1-4842-9660-8_1

1. Python Essential Commands and Functions

Bernard Korites1  
(1)
Duxbury, MA, USA
 
In this chapter, you will learn the essential Python commands and functions you will need to produce the illustrations shown in this book. You will learn how to use Python’s basic plotting functions, set up a plotting area, create a set of two-dimensional coordinate axes, and use basic plotting primitives (the dot, the line, and the arrow), which are the building blocks you will use to construct images throughout this book. In Chapter 2, you will learn how to use these primitives to build two-dimensional images and then translate and rotate them. In Chapter 3, you will extend ...

Get Python Graphics: A Reference for Creating 2D and 3D Images now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.