octave-maintainers
[Top][All Lists]
Advanced

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

Help with image()


From: Rik
Subject: Help with image()
Date: Fri, 30 Sep 2016 08:43:51 -0700

Could someone run the following code under Matlab and post the png output?

colormap (jet (8))
x = 0.7:1:7.7;
image (x)
print -dpng tst.png

According to the documentation, I believe Matlab uses "fix (x)" before
plotting, but Octave's OpenGl toolkits appear to use "round (x)".

--Rik




reply via email to

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