Tags » MatPlotLib

Matplotlib: using scientific notation in tick values


formatter = matplotlib.ticker.ScalarFormatter()
formatter.set_powerlimits((-3,4))
ax.xaxis.set_major_formatter(formatter)

Plot zero-velocity curves (circular restricted 3-body problem) using Python

Saya tulis program dalam python untuk menghitung lokasi titik Lagrange dalam masalah tiga-benda terbatas (CRTBP) serta mengeplotnya bersama kontur integral Jacobi yang melewati L1, L2, dan L3. 520 more words

Astronomy

Figure featured in PRA Kaleidoscopes

This figure, generated from our data and visualized using matplotlib, was selected to be featured in PRA’s Kaleidoscope listings. Figures are selected for aesthetics so we are naturally pleased to have this recognition. 42 more words

Physics

Announcing early access for "Doing Math with Python"

Early Access promotion:

No Starch Press is running a promotion tomorrow (29/01/2015 – PST)  that will offer 40% off all Early Access titles on nostarch.com… 139 more words

Python

Upgrading from matplotlib 1.3.1 to 1.4.2 in Ubuntu 14.04

The preferred method for installing matplotlib is to use the default package manager for you system. In Ubuntu the default package manager is APT and can be used to install packages in the following way: 84 more words

Programming

Angstrom and other Astronomical Symbols in Python

Like many others, I’ve began moving over to Python for my plotting and high-level programming, mainly out of frustration with IDL’s license issues. Below is a collection of Python stuff that may be useful for astronomers. 145 more words