Scientists have untangled the competing influences of water and gravity on plant roots - by growing cucumbers during spaceflight.