octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #35676] Printing custom size png file - figure


From: Sonja Nyberg
Subject: [Octave-bug-tracker] [bug #35676] Printing custom size png file - figure not scaled correctly
Date: Thu, 01 Mar 2012 10:50:28 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2

URL:
  <http://savannah.gnu.org/bugs/?35676>

                 Summary: Printing custom size png file - figure not scaled
correctly
                 Project: GNU Octave
            Submitted by: sonjan456
            Submitted on: Thu 01 Mar 2012 10:50:27 AM GMT
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The commands used below, and the result figures (screenshot on the Figure
window and the saved png) are attached.

h = figure(1);
plot(t,x.*1000,'r-','LineWidth',4);
grid on;


H = 3; W = 4;
set(h,'PaperUnits','inches')
set(h,'PaperOrientation','portrait');
set(h,'PaperSize',[H,W])
set(h,'PaperPosition',[0,0,W,H])
print(h,'test.png');



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 01 Mar 2012 10:50:27 AM GMT  Name: figure1.png  Size: 14kB   By:
sonjan456

<http://savannah.gnu.org/bugs/download.php?file_id=25226>
-------------------------------------------------------
Date: Thu 01 Mar 2012 10:50:27 AM GMT  Name: test2.png  Size: 17kB   By:
sonjan456

<http://savannah.gnu.org/bugs/download.php?file_id=25227>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35676>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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