I am attempting to change the background of my plot3 /surf plot figure to an image of space
6 views (last 30 days)
I am attempting to insert an image of space to serve as the background of my figure which has bunch of orbits as well as earth plotted on it, I am not sure if it's douable. but I also know that anything is with matlab so this is my first time seeking assistance on the mathworks assisance hub.
here is my code:
alpha = 1 ;
Earth_picture = 'https://www.universetoday.com/wp-content/uploads/2009/09/earthmap.jpg' ;
[x,y,z] = ellipsoid(0,0,0,r_Earth,r_Earth,r_Earth) ;
Earth = surf(x,y,-z,'FaceColor','none','EdgeColor','none') ;
legend("Earth","FENGYUN 2H , (GEO)","CZ-7A , (GTO)","CZ-3C , (MEO)","CZ-2D , (LEO)")
CData_image = imread(Earth_picture) ;
and I will be attaching a picture of what I am obtaining.