Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

Matplotlib Tutorial 28 - plotting coordinates on a map with Basemap

56.7K views
•
July 11, 2015
by
sentdex
YouTube video player
Matplotlib Tutorial 28 - plotting coordinates on a map with Basemap

TL;DR

Learn how to plot and connect lines with base maps using coordinates, markers, and arcs.

Transcript

what is going on everybody Welcome To Part 28 of our map plot lib tutorial Series in this part what we're going to be talking about is plotting and connecting lines with base Maps so first of all let's go ahead and choose uh different coordinates here to start with we're just going to plot with United States so we're going to change um this to 25 t... Read More

Key Insights

  • 🍁 Base maps can be used to plot specific coordinates and visualize them on a map.
  • 😥 Markers can be customized with different shapes, colors, and sizes to enhance the plotted points' appearance.
  • 🫥 Lines can be drawn to connect plotted points, and their appearance can be modified by changing attributes like line width and color.
  • 🫠 Adding a curved arc to the line can provide a more visually appealing representation of the connection between points.
  • 🫥 The draw great circle function is useful for drawing curved lines between two specific points on a map.
  • ⚾ Base maps allow for the creation of geospatial visualizations, making it easier to analyze and interpret location-based data.
  • 🍁 Understanding latitude and longitude coordinates is essential for accurate plotting on a base map.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How can you plot specific coordinates on a base map?

To plot coordinates, assign latitude and longitude values to variables and convert them to the xpt and ypt format. Then, use the m.plot function to plot the points on the base map.

Q: Can markers be customized for the plotted points?

Yes, you can customize markers by specifying their shape, color, and size. For example, you can use different marker types like circles, stars, or triangles, and adjust the marker size to make it more visible.

Q: How do you connect plotted points with a line?

To connect plotted points, create two lists for the x and y coordinates. Append the converted xpt and ypt values to these lists. Finally, use the m.plot function to plot the line by passing the x and y lists as arguments.

Q: Is it possible to add a curved arc to the line connecting the points?

Yes, you can add a curved arc to the line using the draw great circle function. This function takes the coordinates of the two points and draws a curved line between them, giving the line a curved appearance.

Summary & Key Takeaways

  • The video tutorial demonstrates how to plot specific coordinates, such as New York City and Los Angeles, on a base map.

  • It explains how to customize markers for the plotted points, including changing their shape, color, and size.

  • The tutorial also teaches how to connect the plotted points with a line and add a curved arc to enhance the visual representation.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from sentdex 📚

Python: How to Graph the Chaikin Money Flow Trading Indicator in Matplotlib thumbnail
Python: How to Graph the Chaikin Money Flow Trading Indicator in Matplotlib
sentdex
Python: How to Program the Chaikin Money Flow Trading Indicator thumbnail
Python: How to Program the Chaikin Money Flow Trading Indicator
sentdex
Python Generator Functions for massive Performance Improvements with Lists thumbnail
Python Generator Functions for massive Performance Improvements with Lists
sentdex
Parsing XML - Go Lang Practical Programming Tutorial p.11 thumbnail
Parsing XML - Go Lang Practical Programming Tutorial p.11
sentdex
How to Parse Twitter for Twitter Analysis: Part 1 thumbnail
How to Parse Twitter for Twitter Analysis: Part 1
sentdex
How to Train a Chatbot Using TensorFlow and Python thumbnail
How to Train a Chatbot Using TensorFlow and Python
sentdex

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.