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

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

[Octave-bug-tracker] [bug #43705] wrong position of ticks on colormap


From: anonymous
Subject: [Octave-bug-tracker] [bug #43705] wrong position of ticks on colormap
Date: Wed, 26 Nov 2014 20:05:13 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/7.1 Safari/537.85.10

URL:
  <http://savannah.gnu.org/bugs/?43705>

                 Summary: wrong position of ticks on colormap 
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mi 26 Nov 2014 20:05:11 UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Malte Hinrichs
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.0
        Operating System: Mac OS

    _______________________________________________________

Details:

Well,

The title says it all. Compare the position of clabels with the colormap ticks
and you know what the problem is ;-)


%define a simple function
vx=[0:0.1:4];
vy=vx;
[mX mY]=meshgrid(vx,vy);
mF=mY;

% define a short colormap
cm=linspace(0,1,4)';
colormap([cm cm cm])

c=contourf(mX, mY, mF, [0:3]);
clabel(c)
colorbar;

print -dpng bug_colormap.png




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mi 26 Nov 2014 20:05:11 UTC  Name: bug_colormap.png  Size: 16kB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=32554>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43705>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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