"When you see more growth come from software, that comes with a lot better margins," said Matt Swanson, analyst at RBC Capital Markets