求助:matlab中始终无图形出现
新装的matlab,显示正常,可以数学运算,但是每次调用plot,figure等命令时,都没有图形界面出现,光标跳到下行。请问是怎么回事啊?谢谢啦[ 本帖最后由 san2006 于 2006-8-28 09:39 编辑 ] 自己顶啊,郁闷啊,哪位遇到过这种状况,可以帮帮忙啦,多谢啦 再找个版本重装吧 假如排除显卡的问题,可尝试通过如下步骤修复:
1.先写如下命令
figure;
get(gcf)
若属性有表示,即:属性的value非空,则图形仍然在,看看最后的'visible'属性的值是否为off,如果是,改为on,如果图形此时正常显示,转step2
2.set(0,'defaultfigurevisible','on') 多谢楼上了,给出了详细的步骤,参照实施,发现visible=on,下面是出来的一大堆属性,不知道该怎么办好了,继续请求指点啊,多谢多谢!
>> figure
>> get(gcf)
Alphamap = [ (1 by 64) double array]
BackingStore = on
CloseRequestFcn = closereq
Color =
Colormap = [ (64 by 3) double array]
CurrentAxes = []
CurrentCharacter =
CurrentObject = []
CurrentPoint =
DockControls = on
DoubleBuffer = on
FileName =
FixedColors = []
IntegerHandle = on
InvertHardcopy = on
KeyPressFcn =
MenuBar = figure
MinColormap =
Name =
NextPlot = add
NumberTitle = on
PaperUnits = centimeters
PaperOrientation = portrait
PaperPosition =
PaperPositionMode = manual
PaperSize =
PaperType = A4
Pointer = arrow
PointerShapeCData = [ (16 by 16) double array]
PointerShapeHotSpot =
Position =
Renderer = None
RendererMode = auto
Resize = on
ResizeFcn =
SelectionType = normal
ShareColors = on
ToolBar = auto
Units = pixels
WindowButtonDownFcn =
WindowButtonMotionFcn =
WindowButtonUpFcn =
WindowStyle = normal
WVisual = [ (1 by 102) char array]
WVisualMode = auto
BeingDeleted = off
ButtonDownFcn =
Children = []
Clipping = on
CreateFcn =
DeleteFcn =
BusyAction = queue
HandleVisibility = on
HitTest = on
Interruptible = on
Parent =
Selected = off
SelectionHighlight = on
Tag =
Type = figure
UIContextMenu = []
UserData = []
Visible = on 嗯,现在应该可以排除是个人二半吊子学GUI乱改属性设置造成的问题。
如果是古董机则仍然不能排除显卡的问题,把完全相同的版本在其它电脑上安装一下看看,安装选项一切默认,如果其它电脑正常显示,则是你自己电脑硬件的问题,如果也不能显示,则有可能是你的安装盘有点儿问题。2D和3D图形的几乎所有命令全部在其MATLAB工具箱的主程序中,正常情况只要安装就一定有。 哈哈,谢谢bainhome了,那我重新找安装盘装吧:@) 这个问题解答应当如下:
引起matlab6.5字迹不清的原因有:
1、升级显卡。
2、安装的时候选择了matlab web server
解决的办法如下:
1、在控制面板-管理工具-服务 中取消 matlab server 的服务
2、安装的时候不选择 matlab web server
其实matlab6.5干扰opengl是主要原因!只有采取上述方法,才可以做出三维图形,否则作不出!!
昨天无意中搜索到的,参考使用。
页:
[1]