polplot
Code for plotting stuff in polar coordinates (MLT / mlat)
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.8%) to scientific vocabulary
Repository
Code for plotting stuff in polar coordinates (MLT / mlat)
Basic Info
- Host: GitHub
- Owner: klaundal
- License: mit
- Language: Python
- Default Branch: main
- Size: 3.4 MB
Statistics
- Stars: 2
- Watchers: 2
- Forks: 6
- Open Issues: 0
- Releases: 6
Metadata Files
README.md
Code for plotting on latitude/local time grid
A class for making plots in polar coordinates. By default the polar coordinates are called lat (latitude) and LT (local time), since that is what we use this code for most often. lat is 0 at equator and 90 at the pole. lt ranges from 0 to 24 (hours).
This is how you use it:
```python
import matplotlib.pyplot as plt from polplot import pp
fig, ax = plt.subplots() pax = pp(ax)
get your data as functions of mlat and mlt, and plot it:
pax.plot(mlat, mlt) pax.scatter(mlat, mlt) pax.contour(mlat, mlt, Z) pax.contourf(mlat, mlt, Z)
and so on. The functions are wrappers for the corresponding matplotlib function
so you can use the same set of keywords to manipulate lines, colors, etc.
``
Thepaxobject above has the original matplotlib.axes subplot object as a member variable calledax`.
Note:
Not everything in the code is well documented, and there may be errors. If in doubt, please ask. It is published here as is because we use it in many other projects.
Owner
- Name: Karl M. Laundal
- Login: klaundal
- Kind: user
- Repositories: 7
- Profile: https://github.com/klaundal
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: polplot
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Karl
family-names: Laundal
orcid: 'https://orcid.org/0000-0001-5028-4943'
affiliation: >-
Department of Physics and Technology, University in
Bergen, Norway
email: karl.laundal@uib.no
- given-names: Amalie
family-names: Hovland
affiliation: >-
Department of Physics and Technology, University in
Bergen, Norway
orcid: 'https://orcid.org/0000-0001-5028-4943'
- orcid: 'https://orcid.org/0000-0001-7412-4936'
given-names: Spencer
family-names: Hatch
affiliation: >-
Department of Physics and Technology, University in
Bergen, Norway
- given-names: Jone
family-names: Reistad
affiliation: >-
Department of Physics and Technology, University in
Bergen, Norway
orcid: 'https://orcid.org/0000-0003-3509-5479'
- given-names: Simon
affiliation: >-
Department of Physics and Technology, University in
Bergen, Norway
family-names: Walker
orcid: 'https://orcid.org/0000-0001-5510-3726'
- given-names: Anders
family-names: Ohma
affiliation: >-
Department of Physics and Technology, University in
Bergen, Norway
orcid: 'https://orcid.org/0000-0002-1234-6725'
- given-names: Michael
family-names: Madelaire
affiliation: >-
Department of Physics and Technology, University in
Bergen, Norway
orcid: 'https://orcid.org/0000-0002-5631-7344'
- given-names: Ashley
family-names: Smith
orcid: 'https://orcid.org/0000-0001-5198-9574'
affiliation: 'University of Edinburgh, UK'
identifiers:
- type: doi
value: 10.3389/fspas.2022.1025823
description: >-
Paper in Frontiers of Astronomy and Space Sciences:
"The Lompe code: A Python toolbox for ionospheric data
analysis"
- type: doi
value: 10.5281/zenodo.7855202
description: Zenodo
abstract: Python package for plotting in polar coordinates
license: MIT
GitHub Events
Total
Last Year
Dependencies
- matplotlib *
- numpy *
- scipy *