Clear Filters
Clear Filters

what kind of graphics error is this?

2 views (last 30 days)
ankit agrawal
ankit agrawal on 8 Aug 2015
Edited: ankit agrawal on 9 Aug 2015
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.

Answers (1)

Image Analyst
Image Analyst on 9 Aug 2015
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 Comment
ankit agrawal
ankit agrawal on 9 Aug 2015
Edited: ankit agrawal on 9 Aug 2015
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.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!