Question: How to plot the energy of an ion as a function of its position in 3D space?

Hi, 

Struggling to get my head round how to plot the results of the follwoing, as it seems I have 4 variables...

I have a data file containing the results of the following problem:

1) Consider a cube. Each side (a,b,c) has a length of 1 unit.

2) Place an ion (0,0,0) where [a,b and c intersect] and find the associated energy at that point.

3) Move the ion to a point 0.05 units along side a to (0.05,0,0) and re-find the associated energy.

 4) Repeat step 3 until you reach the end of side a, such that the ion has been placed at (0...1,0,0).

5) Return to the start, take a step of 0.05 along side b to (0,0.05,0) and find the associated energy at that point.

6) Repeat steps 3,4 & 5 until the end of side b, such that the ion has been placed at (0...1,0....1,0).

7) Return to the initial starting point and move the ion to a point 0.05 units along side c to (0,0,0.05) and find the associated energy at that point.

8) Repeat steps 3,4,5,6 & 7 until the end of sides c, such that the ion has been placed at (0...1,0...1,0...1).  

[i.e. place an ion in 3D space, find its energy at that point, and move it in 20 steps 0.05 in each of the x,y and z coordinates). 

 

How do I plot a graph of the energy of the ion as a function of its position?

Thanks

Please Wait...