We used Mammoth lake to stop the night before driving through Yosemite Park in direction to San Francisco. I know one day is not enough but you can minimum visit some of the most important places of the park.
Next time I will stay longer at the national parks by sure.

