Labfans是一个针对大学生、工程师和科研工作者的技术社区。 论坛首页 | 联系我们(Contact Us)
MATLAB爱好者论坛-LabFans.com
返回   MATLAB爱好者论坛-LabFans.com > 工程数学软件 > MATLAB论坛
MATLAB论坛 一切MATLAB相关问题在此讨论。
回复
 
主题工具 显示模式
旧 2009-04-12, 14:46   #1
laosam280
高级会员
 
注册日期: 2008-11-07
住址: 湖南长沙
帖子: 233
声望力: 21
laosam280 正向着好的方向发展
默认 回复: 【画图遇到的奇怪现象】

比如这样的一个句子,x=1:10,000;运行的结果等价于x=1:10(没有分号)
所以在写程序的时候要注意,尽量不要用逗号,你在输入数据的时候逗号占了内存的。
laosam280 当前离线   回复时引用此帖
旧 2009-04-12, 15:14   #2
lacad
初级会员
 
注册日期: 2008-06-13
年龄: 43
帖子: 4
声望力: 0
lacad 正向着好的方向发展
默认 回复: 【画图遇到的奇怪现象】

引用:
作者: laosam280 查看帖子
比如这样的一个句子,x=1:10,000;运行的结果等价于x=1:10(没有分号)
所以在写程序的时候要注意,尽量不要用逗号,你在输入数据的时候逗号占了内存的。
我写程序的时候没有写成x=1:10,000这样有逗号的,只是我画好图 编辑图片的坐标轴的时候 比如 xlimits 本来应该是 0 to 50000的, 现在成了 0 to 50,000这种有逗号的格式了 我把它改成没有逗号的形式但一回车matlab又把它变成了有逗号的形式,然后就会有错误提示了。
lacad 当前离线   回复时引用此帖
旧 2009-04-13, 13:16   #3
lacad
初级会员
 
注册日期: 2008-06-13
年龄: 43
帖子: 4
声望力: 0
lacad 正向着好的方向发展
默认 回复: 【画图遇到的奇怪现象】

终于搞定了 这是2008b的一个bug 可以这样修复
2. At the command prompt type: matlabroot. This displays the path to MATLAB root. Write down the path.
3. Exit MATLAB
4. Navigate to the matlab root directory and then to java directory within it.
5. If there is no directory called patch under the java directory, create one there.
6. Navigate to the directory called patch
7. Create the following directory under the patch directory : com\mathworks\page\plottool\propertyeditor\controls (on Windows) or com/mathworks/page/plottool/propertyeditor/controls (on Unix and Mac)
8. Copy the following three files (attached) to the newly created controls directory:
LimitsControl$1.class
LimitsControl$TextControlTransferHandler.class
LimitsControl.class
9. Restart MATLAB.

希望以后碰到的可以不用像我这样重装好多遍还是没用了
lacad 当前离线   回复时引用此帖
回复

主题工具
显示模式

发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码



所有时间均为北京时间。现在的时间是 11:11


Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.