Laboratory studies of the variation of the magnetosphere with solar wind properties