| 查看: 1691 | 回复: 1 | ||||
[求助]
matlab中quiver3和surfnorm的问题 已有1人参与
|
pdl9527
专家顾问 (小有名气)
-

专家经验: +8 - 应助: 100 (初中生)
- 金币: 2109.3
- 红花: 23
- 帖子: 282
- 在线: 112小时
- 虫号: 1227333
- 注册: 2011-03-09
- 性别: GG
- 专业: 分离过程
- 管辖: 计算模拟
【答案】应助回帖
★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
jjdg: 金币+2, 感谢参与 2017-04-05 16:16:49
JESLoooo: 金币+8, ★★★★★最佳答案 2017-04-05 22:50:21
感谢参与,应助指数 +1
jjdg: 金币+2, 感谢参与 2017-04-05 16:16:49
JESLoooo: 金币+8, ★★★★★最佳答案 2017-04-05 22:50:21
|
简单点说是横宽比的问题,两次绘图的横宽比不同所以导致视觉上的不一致,以下是转载的解释。 https://nl.mathworks.com/matlabcentral/answers/100252-why-do-the-surface-norms-calculated-by-surfnorm-and-quiver3-not-coincide-in-matlab-6-5-r13 This is the correct behavior. A unit vector only displays orientation information. The orientation needs to be scaled if the aspect ratio is not the basic [1 1 1] as is in the case of an arbitrary plot. Another way to see this is to think of a line going from [0,1] to [1,1]. Imagine plotting the line in different aspect ratios–the unit vector would have to change to stay normal. To correct the perceived misalignment with SURFNORM and QUIVER3, you can set both the DataAspectRatio and PlotBoxAspectRatio properties of the Axes Object as shown in the following example code: |
2楼2017-04-05 16:11:04













回复此楼