pcolor in R2016a broken when using Intel graphics?
Mostrar comentarios más antiguos
I've run into a problem using 'pcolor' on R2016a. When I run the following:
[x, y] = meshgrid(linspace(0, 1, 200), linspace(0, 1, 200));
pcolor(x, y, ones(size(x)))
I get:

Obviously this is not correct. When I set 'opengl software' the problem goes away. This does not occur when using R2015a on the same laptop, and I believe it might be tied to the integrated graphics on the laptop in question (Intel HD Graphics 5500 on Windows 10 using the latest driver) as it does not occur on a desktop using Nvidia graphics. Is there anything that I can do to fix this problem without resorting to software OpenGL?
4 comentarios
Image Analyst
el 29 de Mzo. de 2016
What are you trying to do? Why do you want pcolor() anyway? Do you know that pcolor() doesn't display the last column and row of your data? Why not use imshow() instead?
SimpleYeti
el 29 de Mzo. de 2016
Image Analyst
el 29 de Mzo. de 2016
You can use meshgrid() to create two 2D arrays of coordinates (your x and y) that you can use directly in your function to create a 2D image, which you then pass in to imshow(). Do you want an example?
SimpleYeti
el 29 de Mzo. de 2016
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Graphics Performance en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!