Archive for November, 2012

Updating Scisoft from 7.5 to 7.7 in Fedora 14

Posted November 23, 2012 By grigoris

Updating Scisoft in Fedora is rather easy (see the installation details). First if we have already a previous installation we can easily remove it by running (as root): yum remove scisoft-\* and check that the directory /scisoft has been totally removed (if something extra has been added the we should still see the scisoft directory […]

Linux backup and restore filesystem –notes

Posted November 23, 2012 By grigoris

A quick note on how to backup and restore (if necessary) the filesystem. We go to the root directory (/) and as root we run: tar cvpzf backup.tgz –exclude=/lost+found –exclude=/backup.tgz / c: create new archive v: verbose p: preserve permissions z: gzip f: use file (name of file=backup.tgz) We exclude all the directories that we […]

matplotlib: missed errorbars in logarithmic plot

Posted November 22, 2012 By grigoris

While manipulating some data I came across to, what looked, a strange behavior with the errorbar of matplotlib, when plotting the results from linear to logarithmic scale. Suppose these data: import matplotlib.pyplot as plt import numpy as np s=[19.0, 20.0, 21.0, 22.0, 24.0] v=[36.5, 66.814250000000001, 130.17750000000001, 498.57466666666664, 19.41] verr=[0.28999999999999998, 80.075044597909169, 71.322124839818571, 650.11015891565125, 0.02] plt.errorbar(s,v,yerr=verr) plt.show() […]

Neptune and Triton from Skinakas

Posted November 4, 2012 By grigoris