简体   繁体   English

基于x,y,z数据的matlab 3d图形

[英]matlab 3d graph based on x,y,z data

I'm trying to create a mesh-type plot to analyse the impact of centrifugation and time on the viability of bone cells. 我正在尝试创建一个网状图,以分析离心作用和时间对骨细胞活力的影响。 If my results are: 如果我的结果是:

500g, 2min --> 0.12 / 500g, 10 min --> 0.00 / 4500g, 2 min --> 0.12 / 4500g, 10 min --> 0.10 / 500g,2分钟-> 0.12 / 500g,10分钟-> 0.00 / 4500g,2分钟-> 0.12 / 4500g,10分钟-> 0.10 /

, how would I plot this data in a 3D graph? ,我将如何在3D图形中绘制这些数据? I'm v. new to matlab - spent ~ 4 hours trying to figure this out. 我是Matlab的新手-花费了大约4个小时来解决这个问题。 Would be useful to use this as a template for future work. 将此用作将来工作的模板将很有用。 Any help would be much appreciated. 任何帮助将非常感激。

Cheers, W W,干杯

I think that this is what you're looking for 我认为这就是您要寻找的

weight = [500, 4500];
time = [2;10];
results = [0.12, 0.12; 0, 0.10];

surf(weight, time, results)

xlabel('wieght')
ylabel('time')

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 matlab:在 3d 图中绘制 x、y 和 z 轴上的 2d 线 - matlab: Graph 2d lines on x,y and z axis in a 3d plot 如何基于f(x,y,z)= 0之类的函数在Matlab中绘制3D图形? - How to plot a 3D figure in matlab based on a function like f(x,y,z)=0? 如何分别对X * Y * Z(3D)矩阵matlab进行子图绘制? - How to separately subplot a X*Y*Z (3D) matrix matlab? 如何使用MATLAB将2D(x,y)坐标转换为3D(x,y,z)坐标? - How to convert 2D(x,y) coordinates to 3D(x,y,z) coordinates using MATLAB? 如何使用Matlab在3D大数据散点图中用不同的颜色标记一个点(我有x,y,z)? - How to mark a point (I have x,y,z for it) in a 3D big data scatter plot with different color using matlab? Matlab:如何在(x,y,z)坐标中绘制堆叠的3D条形图? - Matlab: how to plot a stacked 3D bar plot in (x,y,z)-coordinates? 需要使用MATLAB(X,Y,Z,V)进行3D绘图的帮助 - Need help in 3D plot using MATLAB (X,Y,Z,V) 使用MATLAB将f(x,y,z)= 0拟合到一组3D点 - Fit f(x,y,z)=0 to a set of 3D points using MATLAB 如何将 3D 坐标 (x,y,z) 转换为 MATLAB 中的.STL 文件? - How to convert the 3D Coordinates (x,y,z) into .STL file in MATLAB? 在MATLAB中如何从具有中心点和X,Y,Z长度的3D体积中提取立方体? - how to extract a cube from a 3D volume having a centre point and lengths of X, Y, Z in MATLAB?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM