Okay, everybody, I try my best to make it short, my supervisor told me to make a 3D plot by using scilab, I'm not clear about his command, here is the original text:
Each elementary cube is located at coordinates i,j,k.
The other number (let's say "l") is the fourth dimension of the matrix.
Each combination of i,j,k,l refers to a real number which is:
-The density of spins in the elementary cube LOCATED AT i,j,k if l=1
-The value in Tesla for the z-component of magnetic field LOCATED AT i,j,k if l=2
-...etc...
this is a personal way of describing the physical problem. I just invented it because I tought it was the best way to do it with regard to what I'm a willing to do in the simulation code.
Don't forget that coordinates i,j,k will be later tranlated into physical position ( in millimeter, each cube having a 5mmx5mmx5mm total volume). Which means that elementary cube located at i=2,j=3,k=2 is just 5mm away than elementary cube located at i=2,j=4,k=2 (for example).
In scilab there is a possibily of displaying graphics. It might be a good training if you take it as an objective to write a Scilab function that could display on the screen (for example) one the cubes' characteristics (say static field, l=2) in any 3D plane.
This function could be called display_physical_problem(*,*,2,4) and could subsequently display on a 3D graphic the value of the fourth parameter for each cube having a z coordinate equal to 4.
Another Example: Display on a 3D graphic the value of the spin density (l=2) for each cube belonging to the plane y=5. That could be then "display_physical_problem(*,5,*,1)"
You have got to find a way to write this function.
Can anybody help me? I'm really appreciated for that.