VASPKIT论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: VASPKIT
查看: 2014|回复: 2

MAE 磁晶各向异性异性能画图

[复制链接]

1

主题

2

帖子

12

积分

新手上路

Rank: 1

积分
12
发表于 2022-4-30 20:24:49 | 显示全部楼层 |阅读模式
老师:您好,根据vaspkit,62-621,算出了MAE.dat文件,但是想做三维图,用算例里给的matlab代码一直运行报错,拿算例中的MAE.dat文件同样也会报错。下图是报错信息和我想要得到的图。再次感谢,谢谢!这是我想得到的图:
图片1.png
这是报错信息:

MATLAB is selecting SOFTWARE OPENGL rendering.

                            < M A T L A B (R) >
                  Copyright 1984-2021 The MathWorks, Inc.
                  R2021a (9.10.0.1602886) 64-bit (glnxa64)
                             February 17, 2021


To get started, type doc.
For product information, visit www.mathworks.com.

>> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> [Warning: MATLAB has disabled some advanced graphics rendering features by
switching to software OpenGL. For more information, click <a
href="matlabpengl('problems')">here</a>.]
>> >> >> >> >> >>
h =

  ColorBar with properties:

    Location: 'manual'
      Limits: [0 68.8364]
    FontSize: 9
    Position: [0.7230 0.3420 0.0460 0.3510]
       Units: 'normalized'

  Use GET to show all properties

>> >> >> >> >> >> >> >> >> >> >> >> {Undefined function 'mArrow3' for input arguments of type 'double'.
}
>> {Unrecognized function or variable 'mArrow3'.
}
>> {Unrecognized function or variable 'mArrow3'.
}
>> >> >> >> >> >>  function h = mArrow3(p1,p2,varargin)
|
{Error: Function definition are not supported in this context. Functions can
only be created as local or nested functions in code files.
}
>> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> {Error using nargin
You can only call nargin/nargout from within a MATLAB function.
}
>> >> >> >> >> >> >> >> >> >> >> {Unrecognized function or variable 'p1'.
}
>> {Unrecognized function or variable 'p2'.
}
>> >> >> {Unrecognized function or variable 'p2'.
}
>> {Error using cross (line 47)
A and B must be same size.
}
>> >> >> {Error using cross (line 53)
A and B must have at least one dimension of length 3.
}
>> >> >> >> >> >> >> >> >> >> >> >> >> >> >> {Unrecognized function or variable 'p2'.
}
>> >> >> >> {Unrecognized function or variable 'v'.
}
>> >> >>  end
|
{Error: Illegal use of reserved keyword "end".
}
>> >>


回复

使用道具 举报

4

主题

11

帖子

46

积分

新手上路

Rank: 1

积分
46
发表于 2022-5-15 20:55:31 来自手机 | 显示全部楼层
老哥,问题解决了吗?怎么画的,能教我一下不?方便加你问一下吗?
回复

使用道具 举报

7

主题

19

帖子

109

积分

注册会员

Rank: 2

积分
109
发表于 2023-3-4 09:39:37 | 显示全部楼层
本帖最后由 wkq 于 2023-3-4 11:43 编辑

我的可以画啊,没有什么报错,直接运行。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|VASPKIT论坛 ( 陕ICP备2020017291号 )

GMT+8, 2024-4-20 21:00 , Processed in 0.077889 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表