offrefa.blogg.se

Plot 3d scilab
Plot 3d scilab






You have got to find a way to write this function.Ĭan anybody help me? I'm really appreciated for that. That could be then "display_physical_problem(*,5,*,1)" 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.Īnother Example: Display on a 3D graphic the value of the spin density (l=2) for each cube belonging to the plane y=5. 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.

plot 3d scilab

In scilab there is a possibily of displaying graphics. 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). 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.ĭon't forget that coordinates i,j,k will be later tranlated into physical position ( in millimeter, each cube having a 5mmx5mmx5mm total volume). This is a personal way of describing the physical problem.

plot 3d scilab

The value in Tesla for the z-component of magnetic field LOCATED AT i,j,k if l=2 (X,Y,Z) are three matrices which describe a surface. The density of spins in the elementary cube LOCATED AT i,j,k if l=1 plot3d3 performs a mesh plot of a surface defined by rectangular facets. The other number (let's say "l") is the fourth dimension of the matrix.Įach combination of i,j,k,l refers to a real number which is: 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:Įach elementary cube is located at coordinates i,j,k.








Plot 3d scilab