Thursday, April 10, 2014

R Contour / Density Scatter plot

http://stats.stackexchange.com/questions/31726/scatterplot-with-contour-heat-overlay

n = 10000;
a = as.matrix( rnorm(n) );
dim(a) =  c( n/2, 2 );
z = kde2d( a[,1], a[,2], n=50 );
plot( a[,1], a[,2], cex=0.5 );
contour( add=T, z, col=1:11 );

Thursday, April 3, 2014

Ubuntu Alt-tab not working

Use 'gnome classic (no effects)'
Restart unity / gnome session with

Ctrl + F2
sudo service lightdm restart

Ubuntu icons gone

I can't find the icons for Terminal, file and folder icons in Nautilus

Fix:
sudo apt-get install gnome-tweak-tool
gnome-tweak-tool
log out and log in using 'gnome-classic' UI