Skip to main content

Essential Python Commands and Functions

  • Chapter
  • First Online:
Python Graphics
  • 6239 Accesses

Abstract

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 these concepts to three dimensions. Also in this chapter you will learn about colors, how to apply text to your plots, including the use of Latex commands, and the use of lists and arrays. By the last chapter, you will be able to create images such as Figure 1-1.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 B.J. Korites

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Korites, B.J. (2018). Essential Python Commands and Functions. In: Python Graphics. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3378-8_1

Download citation

Publish with us

Policies and ethics