sliceomatic for 3D plots

조회 수: 6 (최근 30일)
Matlabuser
Matlabuser 2015년 4월 28일
댓글: Christiaan 2015년 5월 4일
Hi everyone,
Can anyone please explain me how sliceomatic work and how can I plot my data set using sliceomatic function.
Thanks in advance

채택된 답변

Christiaan
Christiaan 2015년 4월 29일
편집: Christiaan 2015년 4월 29일
Dear Arora,
Slicomatic is a GUI tool in the file exchange where you can make isosurfaces and slices of a plot. Also if you have for example a function v=f(x,y,z), and you want to draw a 2D plot, (i.e. the xy plane at z=3) where the value v is a certain value, you may see a line. (isosurface). Or if you want to plot the values at only a certain z=3, you can make a slice.
An example is shown in the m-file of the file exchange.
A second possibility is if you use the MATLAB functions " isosurface" and " slice". Example how to use these functions are shown in the documentation.
Good luck! Christiaan
  댓글 수: 2
Matlabuser
Matlabuser 2015년 4월 29일
Dear Christiaan, Thank you very much for your reply. I have 3 profiles for an area, Each profile contains x, z, and density values.One profile is at y=1; another is at y= 5; 7. Now I want to plot my data for each profile at different y locations. Can you please suggest me how can I do this?
Christiaan
Christiaan 2015년 5월 4일
Dear Arora,
If you use the GUI tool "Slicomatic", normally all variables are in the function workspace. Therefore you don't 'see' any variables. A method to solve is, is using the assigning function. You can just put the line anywhere in the code of sliceomatic.m and then you can save a certain variable. (use a debugger to find the correct data of the plot). A second possibility would be to use global variables.
Kind regards, Christiaan

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Scalar Volume Data에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by