Fundamentals of Graphical Visualization With Python Programming
Fundamentals of Graphical Visualization With Python Programming
Graphical Visualization
with Python Programming
Module 1- Part 1
Quadrant IV
Quadrant III
Abscissa of a Point
Y
Ordinate of a point
X -> Abscissa
(X,Y)
Y -> Ordinate
(x1,y1)
(x1,y1)
• Data Analyst
• Data Scientist
You will use an application software or a programming
language to aid your task of plotting points.
“Data Analysts/Scientists”
are using the Python
programming language
“A platform for plotting points that you must know.”
1. Make a list for the abscissas
2. Make a list for the ordinates
Representing Coordinates in Python
Suppose you want to plot the points (1,2)
and (3,9)
colab.research.google.com
!
Python Programming Interface
colab.research.google.com
To plot the points (1,2) and (3,9), use the “scatter” and
“plot” methods of the “pyplot class” in the “matplotlib
library” of Python.
# This is the single line comment delimiter in Python.
# Python has a code library called matplotlib
# from which a program for plotting called pyplot may be accessed.
from matplotlib import pyplot as plt # A syntax for import
x=[1,3] # This is the syntax for creating a list of values
y=[2,9]
plt.scatter(x,y, color=“blue”) # Plot the points
plt.plot(x,y, color=“red”) # Let a curve pass through the points
Course Facilitator
30