Tags » MatPlotLib

DICOM in Python: Importing medical image data into NumPy with PyDICOM and VTK

I’ll be showing how to use the pydicom package and/or VTK to read a series of DICOM images into a NumPy array. This will involve reading metadata from the DICOM files and the pixel-data itself. 2,258 more words

VTK

archlinux ipython matplotlib/pylab qt xcb

on trying to plot any thing in ipython using matplotlib i got the following error

This application failed to start because it could not find or load the Qt platform plugin “xcb”.

65 more words

NYC Citi Bike: Commuters vs. Tourists

Citi Bike has had immense success in building a large base of New York City riders in a very short time. However, while Alta Bicycle Share (the company that owns the company that operates Citi Bike) was surprised by their success in attracting annual subscribers, they had anticipated more revenue from daily and weekly riders. 1,294 more words

Bicycle

Plots in matplotlib pylab

When trying to explain something to someone it is usually much better to actually present it in a graphical form. For this, I’m usually using Python and its module… 384 more words

Python

Point size legends in matplotlib and basemap plots

Python’s matplotlib and basemap can do a lot. I think I still prefer R’s ggplot, but I much prefer manipulating data in Python and sometimes it’s more natural to do the analysis in the same language. 308 more words

Social Science Computing