Change Photo
Weston Rogahn

Questions by Weston Rogahn

Making image white space transparent, overlay onto imshow()?

I have a plot of spatial data that I display with imshow(). I need to be able to overlay the crystal lattice that ...

How to make Google Now microphone icon using CSS3??

I am trying to create the 'Google Now' microphone icon using pure CSS3. The icon features a white microphone on a re...

How to add colliders to complex maze?

I downloaded a maze sprite for expiremental purpose to use in my game and I'm trying to add colliders to the wall. B...

Additional information for Collapsible Force Layout Visualization of D3?

I wish to use the Collapsible Force Layout visualization offered by D3. I am a novice at using D3.js and wasn't ...

R dates “origin” must be supplied?

My code: axis.Date(1,sites$date, origin="1960-10-01") Error: Error in as.Date.numeric(x) : 'origin' must be supp...

How to turn the texture in a tunnel in one direction??

We are trying to turn the texture inside a tunnel in a certain direction like this: Simply rotating the camera is ...

No module named serial?

and I got a question when I run my Python code. I installed Python 2.7 on Windows 7, bit 64. I got an error "No mod...

ImportError: No module named scipy?

I am using Python 2.7 and trying to get PyBrain to work. But I get this error even though scipy is installed - Tr...

How to add zeros after the significant digits after decimal in C??

double r; float a; scanf("%lf",&r); a=M_PI*pow(r,2); printf("%.*f",6,a); The output is 12.566371 but I want th...

What are the differences between “=” and “<-” assignment operators in R??

What are the differences between the assignment operators = and &lt;- in R? I know that operators are slightly dif...

Understanding the Etc/GMT time zone?

What is the rationale behind Apple using Etc/GMT timezone when they return the receipt from the App Store for auto-r...

Eraser tool in web page?

&lt;%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%&gt; &lt;!DOCTYPE html ...

How do the post increment (i++) and pre increment (++i) operators work in Java??

Can you explain to me the output of this Java code? int a=5,i; i=++a + ++a + a++; i=a++ + ++a + ++a; a=++a + ++a +...

E: Unable to locate package mongodb-org?

I am trying to download mongodb and I am following the steps on this link. But when I get to the step: sudo apt-ge...