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

[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: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #55632] display of image pixels and axis limits
Date: Sun, 3 Feb 2019 16:24:51 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Follow-up Comment #1, bug #55632 (project octave):

Yes, that doesn't look good. Using textures to project image pixels on would
probably help overcome this limitation, as it would help supporting rotated
text. See how using texture mapping (undocumented well hidden Octave feature
:-)) on a surface object looks much better:


cdata = get (0, "defaultimagecdata");
h = surface ("xdata", linspace (0.5, 64.5, 3) , ...
             "ydata", linspace (-1/128, 1+1/128, 3)', "zdata", ones (3), ... 
             "facecolor", "texturemap", "cdata", flipud (cdata), ...
             "edgecolor", "none");
axis ([1, 64, 0, 1], "xy");
## Zoom and look at the borders




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55632>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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