[Tutor] Problems Plotting in 3D

Kendall Evans kendallevans at hotmail.com.au
Thu Aug 31 02:18:12 EDT 2017


Hi

I am sorry but I am new to python and am having some problems plotting in 3D spherical coordinates

I am calculating the youngs modulus for a crystal along all directions in space using the method below as I have been given the compliance matrices(C):
                Find S=inv(C)
                Modulus = S(1,1)^-1
                Doing this for a 1 degree interval while sweeping through a 180 degree z axis rotation and a 360 degree x axis rotation

Since I have to do matrix operations I believe I have to iterate across the theta and phi angles. I am wanting to iterate over these to get some radius and then plot this, however my result keeps giving me a blank plot


[cid:image002.png at 01D32274.B90EC520]
[cid:image006.png at 01D32274.B90EC520]
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10



More information about the Tutor mailing list