如何绘制在MATLAB 4D轮廓线(XYZ-V)? [英] How to plot 4D contour lines (XYZ-V) in MATLAB?

查看:1498
本文介绍了如何绘制在MATLAB 4D轮廓线(XYZ-V)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有数据集XYZ为坐标和V的值在每个点(100x4矩阵)。

I have dataset of XYZ as the coordinates and V as the value at each point (100x4 matrix).

我使用补丁绘制三维表面。 (由面及放大器;顶点)

I plot the 3D surface using patch. (by faces & vertices)

我怎么能在三维曲面图V(不Z)的轮廓线!?

How can I plot the contour lines of V (NOT Z) over the 3D surface !?

(该Contour3函数图3D轮廓线Z的,但我需要五的轮廓线)

( The Contour3 function plots 3D contour lines of Z ; But I need contour lines of V. )

其实我想要的东西,如这个或的这个

Actually I want something like this or this.

感谢十亿的帮助。

嗯,事实上我发现等值面命令正是我想要的。

Well actually I found out that the isosurface command is exactly what I want.

不过,此命令要求V数据是一个3D矩阵。但我V是一个载体。而在它的数据是完全不均匀和不规则。现在这里升起一个新的问题:

However, this command requires the V data to be a 3D matrix. But my V is a vector. And the data in it is completely non-uniform and irregular. Now here rises a new question :

我如何转换这种非均匀向量到一个3D矩阵,因此,它已经准备好与等值面命令一起使用!!?

请帮我这个。

推荐答案

cont3d 从MathWorks公司FileExchange是不是你正在寻找什么,但它可能给你一些想法。

cont3d from MathWorks FileExchange is not exactly what you're looking for, but it may give you some ideas.

这篇关于如何绘制在MATLAB 4D轮廓线(XYZ-V)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆