Question

Write a data visualization script using Matplotlib to build a single Figure containing two side-byside subplot Axes grids: • Subplot 1: A line chart representing trend progression values over a timeline. • Subplot 2: A scatter plot diagram highlighting coordinate cluster spaces. Note: Add clear axis titles, customised colour mappings, legends, and bounding grid markers across the visual plots

08 Aug 2026
Answer :
Word Count : 1108
Matplotlib is a widely used Python library for creating static, interactive, and animated data visualizations. It provides flexible tools for representing numerical data through line charts, scatter plots, bar charts, histograms, and many other graphical forms. The following script creates a single Figure containing two side-by-side subplot Axes. The first subplot uses a line chart to represent the progression of values over a timeline, while the second subplot uses a scatter plot to display coordinate cluster spaces. Customized colour mappings, legends, axis titles, grid markers, and other visual properties are included to make the visualization clear and informative. ```python import matplotlib.pyplot as plt import numpy as np # --------------------------------------------------------- # Data for Subplot 1: Trend progression over a timeline # --------------------------------------------------------- timeline = np.array([ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct" ]) trend_values = np.array([ 25, 31, 29, 38, 45, 50, 57, 55, 65, 72 ]) # --------------------------------------------------------- # Data for Subplot 2: Coordinate clusters # --------------------------------------------------------- cluster_1_x = np.array([1, 2, 2.5, 3, 3.5, 4]) cluster_1_y = np.array([1, 1.5, 2, 2.2, 2.8, 3]) cluster_2_x = np.array([6, 6.5, 7, 7.5, 8, 8.5]) cluster_2_y = np.array([6, 6.8, 7.2, 7.5, 8.2, 9]) cluster_3_x = np.array([3, 3.5, 4, 4.5, 5, 5.5]) cluster_3_y = np.array([7, 7.5, 8, 8.5, 8.2, 9]) # --------------------------------------------------------- # Create one Figure with two side-by-side Axes # --------------------------------------------------------- fig, axes
________ _____ ____ _________ __________ _____ ______ ________ _____ ____ ________.
___ _________ ____ ____ ____.
_______ _____ ___ _________ ___ ______ _________ _____ ___.
___ ____ ____ _________ _____.
___ _________ _________ _______ ________ ______ ________ _______ __________ _____ ___.
_________ _____ _______ ____ ___ ______ ___ ________ ___ ___ ________ ___.
___ _________ _____ ___ ________ _______ ____ ______ _________ __________.
______ ______ ___ ______ _____ ____ __________ _________ ____.
________ _______ _______ ______ ______ _____ ________ _________ __________ ________.
____ ___ __________ ___ _________ _________ _______ ___ _________ _________.
_____ _____ _________ _________ _________ ______ _____ ______ ________.
______ ___ __________ ___ ________ ___ ________ ______ ________.
______ ___ __________ ________ ____ ___.
______ _________ _______ ___ _______ ____ _______ ___ ___.
___ __________ _______ _________ __________ ________.
_______ _______ ____ _________ ___ ____ _________ ________ __________.
_____ ______ _____ ___ ____ ____.
_____ ___ __________ ____ ________ ________ ______ ____ ________ _________ ________.
______ ______ _____ ________ ____ ________ _____ __________.
_____ ___ ________ _______ ________.
_______ __________ _____ _______ ______ ________ _________ ___ ______ __________ ___ ____.
________ _________ __________ ___ ___ _____ ___.
________ ____ _______ _______ ______ __________.
_________ _____ ___ ______ ____ ________ _________ __________.
____ ___ __________ ______ _______ __________ _______ _________ __________ ____ _____ _____.
____ ____ ________ ______ __________.
____ ___ _________ __________ ___ _______ _______.
_________ ________ __________ ______ ______ ___ _____ ______ ____ _________ __________.
___ _______ ___ ___ _____ ____ __________ ____ ____ ______ _____ ____.
____ ___ _________ ____ ____ ______.
_____ ____ ______ ____ ___ ______ _______ ____.
________ ____ _________ ________ ____ ________ ________ ____.
__________ ______ ____ ________ ________ _______.
_______ _________ __________ ________ __________ _______ __________ ______ _________ ________.
____ _________ ____ ________ ________ ________ ____ ____ _______.
__________ _______ __________ ______ _________ ___ ______ _____ ________ ____ __________.
______ ___ _____ _______ ______ ______ ______ _________.
____ ___ ________ ___ _________ ____ _________.
__________ _____ _______ ________ __________ _____ ____ _______.
___ ____ __________ ___ __________ _____ __________ ___ _________ _____ _______.
__________ ______ _____ ____ ____ ____ ___ _____ _____.
______ ____ _________ ________ ____ ____ __________ _______ __________ __________ _________.
___ _______ ____ _______ _________ ____ _____.
_______ ____ _______ ______ ________ _________ ____ _________ _________ ________ ______ ______.
__________ __________ _____ ________ __________ ________ __________ ___.
___ _____ _______ ________ ____ ____ ____ _________ ________ __________ ______ __________.
__________ _________ ______ ______ _________ __________ ________ _________.
_________ _____ _________ ____ __________ _____.
_____ _________ ___ _______ ___ ____.
________ ____ _____ __________ ________ __________ _____ ______.
_______ _________ _________ _______ ______.
_____ _____ ______ ________ ___ ___ ________ ______ ____ _________ _______.
______ _____ _______ ________ _______ ____ ______ ____ _______ ______ __________.
_______ ____ ___ ___ ______ _____.
___ _____ __________ __________ _______ _______ _________ _______ ___ ______ ______ _____.
___ ________ _____ __________ ________.
________ _____ _______ ________ ___ _____ __________ _____ ______ _____ ______ __________.
____ ______ ______ ______ ___ _____ ____ _______ ______ _______.
__________ ______ ____ _______ _______.
____ _____ ___ _____ ___.
_________ ______ __________ __________ ________ ______.
_________ ______ ________ ____ _______.
_________ _________ _______ _________ _______ ______ __________ ________ _________.
________ ____ ___ _____ ____.
______ _________ ____ __________ __________ __________ _________ _______ __________ ____ ___.
________ ________ ______ ____ ______ ______ __________ ___.
________ _______ _________ _____ __________ ___ _______ _____.
_______ _______ ________ ________ ____ _____ ____ ___ ___ _________ _____ __________.
_______ ______ ____ _________ _________ _____ ________ ____.
________ ___ _______ ___ ___ _________.
_______ ___ _______ __________ _________ _________ __________ ________ _________ ____ _____.
_____ _____ ____ _________ ___ ______ ___.
_________ _______ ________ ________ _________ _____ ___ ___ ______ _____ _______.
____ _____ _____ _____ ________ ___ ____ ____ ______.
___ _______ __________ ___ _____ _________ _____ _______ ____ _____ ____.
_____ _____ _____ ________ ______ __________.
_____ __________ _____ ____ _________ _________ _____ ________ _________ __________ ________ __________.
____ _________ ________ ______ _______ _____ __________ _____ ________ _______.
__________ ___ _________ ______ _________ _________ _________.
______ __________ __________ _______ ___ _________ ________ ____ ______ ___ ______.
______ _______ ____ _____ __________ _______ _______ __________ ____ ____.
___ _________ ____ ________ _____ ______.
__________ ______ _______ _____ _____ _________ ____ ________ _________.
_________ ___ _____ ______ _________ ___ ______ _____ __________.
________ ____ _____ ___ ______ ___ _______ ____ ________ _______ ________ ___.
__________ _________ ____ _____ _______ _____ _________.
________ __________ ________ ___ ________ ____ ____ _________ ___.
______ ________ ____ _______ _______ ________ _________ _________.
___ ____ ______ ___ ___ _________ ___ ___ _____ ______ _______ _____.
____ ___ _____ _____ _________ _____ ___ ________ _____ _______.
____ ____ _______ _________ _______ _______ _____ _____ ________ _________ ____.
_______ __________ _______ _____ ___ __________ ____ ____ _______.
__________ _______ ___ ____ _________ ________ _________ _____ ________ __________ _________ ______.
_____ ___ _____ _________ ___ _______ ________.
_____ _____ ___ ___ ___ ____ _____ ____ ______ _____ ________ __________.
______ __________ ___ __________ _________ _____ ______ _______ __________ ________ __________ _____.
___ ______ _________ __________ _________ ________ _______ ______ ___ ________ ___.
________ ________ _______ _________ ______ _____ _____ _______ _________.
____ _________ ___ ___ ______ ________ _____ ______ _______ ________.
_______ ___ _____ ________ ________ _________ _______ ___ _________ _________ ________.
____ ________ _____ ______ ___ __________.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MCSL-083 2026 - Write a data visualization script using Matplotlib to build a single F | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→