I want to display an image in octave without being scaled (i.e. one image pixel maps to exact one pixel of my monitor) or having a wrong aspect ratio. Unfortunately neither
image() do that automatically. But it must be possible, right?
I'm using Octave 3.2.4.
There's a couple ways to do this. Here's 2 of them:
daspect ([1 1])after displaying the image;
set (gca, "Position", [0 0 1 1])
I find that in Octave 3.8.1 (running the distro version from Linux Mint 17), using
axis tight normal will produce a well-behaved graph similar to the standard Matlab output. YMMV.