[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55632] display of image pixels and axis limit
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #55632] display of image pixels and axis limits |
Date: |
Sat, 2 Feb 2019 21:48:28 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
URL:
<https://savannah.gnu.org/bugs/?55632>
Summary: display of image pixels and axis limits
Project: GNU Octave
Submitted by: rik5
Submitted on: Sat 02 Feb 2019 06:48:26 PM PST
Category: Plotting with OpenGL
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
Octave "pixels" extend +/- 0.5 a grid point of their position. This leads to
oddities, where part of a pixel would be outside the axes and is clipped.
Matlab does not do this.
Sample code below is taken from the demo for brighten().
clf;
colormap (gray (64));
image (1:64, linspace (0, 1, 64), repmat ((1:64)', 1, 64));
axis ([1, 64, 0, 1], "xy");
This leaves a small white border around the image object which is not present
when using gnuplot or Matlab.
This may be a deep issue that needs to be resolved in the OpenGL renderer.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 02 Feb 2019 06:48:26 PM PST Name: image.png Size: 12KiB By: rik5
<http://savannah.gnu.org/bugs/download.php?file_id=46169>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55632>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55632] display of image pixels and axis limits,
Rik <=
- [Octave-bug-tracker] [bug #55632] display of image pixels and axis limits, Pantxo Diribarne, 2019/02/03
- [Octave-bug-tracker] [bug #55632] display of image pixels and axis limits, Pantxo Diribarne, 2019/02/03
- [Octave-bug-tracker] [bug #55632] display of image pixels and axis limits, Rik, 2019/02/03
- [Octave-bug-tracker] [bug #55632] display of image pixels and axis limits, Rik, 2019/02/05
- [Octave-bug-tracker] [bug #55632] display of image pixels and axis limits, Pantxo Diribarne, 2019/02/08
- [Octave-bug-tracker] [bug #55632] display of image pixels and axis limits, Pantxo Diribarne, 2019/02/08
- [Octave-bug-tracker] [bug #55632] display of image pixels and axis limits, Pantxo Diribarne, 2019/02/08
- [Octave-bug-tracker] [bug #55632] display of image pixels and axis limits, Rik, 2019/02/08
- [Octave-bug-tracker] [bug #55632] display of image pixels and axis limits, Pantxo Diribarne, 2019/02/09
- [Octave-bug-tracker] [bug #55632] display of image pixels and axis limits, Pantxo Diribarne, 2019/02/12