[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55907] png plot does nor respect dpi and prod
From: |
Okti |
Subject: |
[Octave-bug-tracker] [bug #55907] png plot does nor respect dpi and produces unreadable results |
Date: |
Fri, 15 Mar 2019 04:47:34 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0 |
Follow-up Comment #2, bug #55907 (project octave):
You get no error message in a Script.
As seen in the documentation, it is equivalent! But it isn't, so it is an
error.
https://octave.org/doc/v4.2.2/Printing-and-Saving-Plots.html
-rNUM
Resolution of bitmaps in pixels per inch. For both metafiles and SVG the
default is the screen resolution; for other formats it is 150 dpi. To specify
screen resolution, use "-r0".
-Sxsize,ysize
Plot size in pixels for EMF, GIF, JPEG, PBM, PNG, and SVG. For PS, EPS,
PDF, and other vector formats the plot size is in points. This option is
equivalent to changing the size of the plot box associated with the
"paperposition" property. When using the command form of the print function
you must quote the xsize,ysize option. For example, by writing "-S640,480".
Why should this not work on a png-file as documented?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55907>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/