dinasset wrote:
Yes, Ofnuts, this is what I wanted to say.
Not because I do not like local editing (should I print a bill I certainly appreciate an editing understandable in my country), but because almost all application softwares around only accept and manage the US editing, the "locale" should not be constrained, there must be an escape or mode selection.
I didn't try but I suppose that also in the opposite direction (string->number) will fail, should the string received by another software application be in the US format, so that a string containing 1 as integer part and 234 as decimal part will be transformed into the number 1234 in a country like Italy, but I do not even try because I do not see a practical use.
You can always come to the dark side and use Python. Let me give you an example:
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np
R=10
turns=3.25
samples=500
steps=np.linspace(-1,+1,samples)
a=np.linspace(0,2*np.pi*turns,samples)
r=R*np.sqrt(1-steps*steps)
x=np.cos(a)*r
y=np.sin(a)*r
z=R*steps
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.plot(x, y, z)
plt.show()
This gives:
Attachment:
LineOnSphere.png [ 123.4 KiB | Viewed 1310 times ]
And that's the first time I used numpy (the vector computation library) and matplotlib. Getting the math correct (spiral on a sphere) was the hardest part. Python never got in the way...