I've recently installed Matlab 2015b (the latest 32-bit version) on my Windows Vista computer. I know that this OS is no longer supported, so if Windows Vista is the cause of my problem, then I'm willing to accept that.
Most of Matlab seems to work just fine though. In fact, the only problem I've had so far is with the plot tool. There is no error message and the plot tool opens up, but I just get a black screen where the plot should be (see screenshot). The same happens with the surf tool.
What could be causing this? Am I missing some package? Thank you for any tips you might have.

 채택된 답변

Walter Roberson
Walter Roberson 2016년 3월 14일

4 개 추천

Please show us the output of
opengl info
If it says that hardware opengl is being used, try
opengl software
and then try plotting again.

댓글 수: 3

Nicolas Daans
Nicolas Daans 2016년 3월 14일
Your solution seems to have solved the problem, thanks a lot! Could you explain what you think went wrong? I have a functioning ATI graphics card; is it perhaps outdated?
Walter Roberson
Walter Roberson 2016년 3월 14일
The driver might be outdated.
Walter Roberson, thank you so much !

댓글을 달려면 로그인하십시오.

추가 답변 (4개)

Muhammad Usman Saleem
Muhammad Usman Saleem 2016년 3월 13일
편집: Muhammad Usman Saleem 2016년 3월 13일

0 개 추천

correct this to code
x=[1:100]; % mark square brackets in order to make a vector.
>> plot(x,x)
output is plot with straight line

댓글 수: 3

Jan
Jan 2016년 3월 13일
@ Muhammad Usman Saleem: 1:100 is a vector already and additional square brackets are not required. At least in older Matlab versions, adding square brackets consumed a tiny but measurable period of computing time, so I'd suggest to omit them.
By the way: This does not concern the question in any way. The OP has another problem.
the way to assign a vector is also correct by my way. In above screen shots its seem that small brackets () has been used for generation of vector
Walter Roberson
Walter Roberson 2016년 3월 14일
Using (1:100) is also fine, and is not the cause of the user's problem.

댓글을 달려면 로그인하십시오.

shahzad muhammad
shahzad muhammad 2017년 10월 22일

0 개 추천

Hello, same problem with me, I attached screen short, I use opengl software command but still no plot appear.I am using MATLAB 2015a.
dhaifallah Alotaibi
dhaifallah Alotaibi 2017년 10월 30일

0 개 추천

Hi I've have the same problem as well. I'm using 2017 could anyone help me.
Claudio Ladeira
Claudio Ladeira 2021년 12월 27일

0 개 추천

This is an old thread, but i hope you can help me here. I'm using the online version, and it's showing a nice plot when I execute the plot command for the first time. After that, I'm only getting a black screen (I'm using Safari). I ran the 'opengl software' command as you recommended, but it didn't work. Do you have any other recommendation?

댓글 수: 1

Claudio Ladeira
Claudio Ladeira 2021년 12월 27일
I got a solution! I tried the same plot using a different browser (Chrome) and it worked!

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Graphics Performance에 대해 자세히 알아보기

제품

태그

질문:

2016년 3월 13일

댓글:

2021년 12월 27일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by