[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matlab test requested: print plot in uipanel

From: Przemek Klosowski
Subject: Re: Matlab test requested: print plot in uipanel
Date: Mon, 11 Jul 2016 11:01:28 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

On 07/11/2016 06:45 AM, Andreas Weber wrote:
close all;
m = uipanel;
ax = axes ('parent', m);
plot (ax, 1:10);
print ('out.png')

MATLAB Version: (R2015b) on Windows 7 creates the file out.png but it contains Postscript.

Windows thinks it's png bitmap and can't open it. I renamed it to and opened in Acrobad Reader, but AR has a problem with the file as well. I tried to insert it as picture in Word, and it didn't work either: it shows onscreen as an included image that cannot be displayed, which is normal---but it also prints incorrectly on a postscript printer.

I moved the file to Linux and displayed it in evince, and it displays fine.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]