Your code works correctly for me, and produces:
after adding the axes labels:
Please post the rest of the error message:
Error in Solar (line 19)
There are usually more details.
Guessing here, however it might be worthwhile to run:
from your Command Window or a script.
The results I get all are in some subdirectories of:
If you get different results (that would usually show up at the beginning of the list), that could tell you what the problem could be.