Skip to content

brianholland/StarPlot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StarPlot

This repo is a short example of

  1. scraping the web,
  2. cleaning data with Pandas and Python, and
  3. plotting the results in 3-D.

The example is the brighter stars within 50 light-years. The plot can be turned around interactively when it's run. Speaking of which: run the code in StarPlot.py on your machine by downloading it and typing

python StarPlot.py

at the command line in its directory. You'll have to be on the 'Net since it grabs the coordinates from http://www.atlasoftheuniverse.com/50lys.html. Also, please visit that page.

The result looks like this - depending how you rotate it of course. You'll see in the code how you can turn on labels for some stars.

About

Example of web scraping and 3-d plots in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages