what kind of graphics error is this?

1 次查看(过去 30 天)
Hello recently i buy a new HP 15 Notebook PC with Nvidia Geforce. When i am running matlab code then i am unable to save the image properly. Is there any graphics driver missing or is it because of some matlab fault in my laptop. i don't understand. The left image is the generated image by matlab and right image is saved image by matlab figure.

回答(1 个)

Image Analyst
Image Analyst 2015-8-9
How did you try to save it? It looks like you hit PrintScreen because it has the figure plus the save dialog box. Anyway, see the FAQ: http://matlab.wikia.com/wiki/FAQ#How_do_I_save_my_figure.2C_axes.2C_or_image.3F_I.27m_having_trouble_with_the_built_in_MATLAB_functions.
  1 个评论
ankit agrawal
ankit agrawal 2015-8-9
编辑:ankit agrawal 2015-8-9
Believe me i didn't hit the print screen. I use file->save as-> select jpg command for saving the image. i also used print(h1,'-djpeg','-150','name'); command to save the image but again the image is complete black. In other machine i am getting the right thing. This problem comes with my laptop only.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by