3d graph layout drawing (gephi/Matlab)

I have tried to drawn image in matlab like the below
But I want to draw like in the below figure
Can anyone please help me or suggest some way to do it in gephi or matlab or any other ways?

Thank you so much!