Please format your code next time.
What have you tried so far? Why doesn't subplot() and legend() commands solve your problem? FYI, I can't run your code because I don't know what sampleUnitSphere is.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!