bugGNU Octave - Bugs: bug #44615, pcolor has ylimits error not...

 
 

bug #44615: pcolor has ylimits error not present in previous version

Submitter:  Bill Eaton <wpeaton>
Submitted:  Tue 24 Mar 2015 12:38:40 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Bill Eaton Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 24 Mar 2015 04:08:33 PM UTC, comment #3: 

OK. I hacked my version of pcolor to match your cset. And then I had to replace gs.exe with a newer version according to instructions here: https://savannah.gnu.org/bugs/?func=detailitem&item_id=44185

So now '-S' option is working and I get pretty pcolor plots. Hurray!

Thanks to everyone for the assistance.

Bill Eaton <wpeaton>
Tue 24 Mar 2015 03:44:44 AM UTC, comment #2: 

Fixed in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/f6c901a691d5).

The printout doesn't look that good, but that is because the '-S' option seems to be broken.  I think that has been reported elsewhere.

Rik <rik5>
Group administrator
Tue 24 Mar 2015 01:52:42 AM UTC, comment #1: 

Thanks for your bug report. Confirmed here as well with your example. Also worth quoting the example from the Matlab help for pcolor:


n = 6;
r = (0:n)'/n;
theta = pi*(-n:n)/n;
X = r*cos(theta);
Y = r*sin(theta);
C = r*cos(2*theta);
pcolor(X,Y,C)
axis equal tight


from

http://www.mathworks.com/help/matlab/ref/pcolor.html#example_2

This also yields the same error, which in the 4.0 development version looks like:


error: ylim: axis limits must be increasing
error: called from
    __axis_limits__ at line 49 column 11
    ylim at line 44 column 7
    pcolor at line 117 column 9


Mike Miller <mtmiller>
Group Member
Tue 24 Mar 2015 12:38:40 AM UTC, original submission:  

When I run pcolor in the attached script, it throws a ylim error:

error: ylim: axis limits must be increasing
error: called from:
error:   C:\Octave\Octave-3.8.2\share\octave\3.8.2\m\plot\appearance\private\__axis_limits__.m at line 49, column 11
error:   C:\Octave\Octave-3.8.2\share\octave\3.8.2\m\plot\appearance\ylim.m at line 44, column 7
error:   C:\Octave\Octave-3.8.2\share\octave\3.8.2\m\plot\draw\pcolor.m at line 117, column 9
error:   C:\Temp\pcolor\pcolor_trouble.m at line 16, column 1

Script works fine on Windows for version 3.6.4 and produces attached jpg output. So when I need pcolor, I run old version.

Bill Eaton <wpeaton>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #33440:  test.jpg added by wpeaton (618KiB - image/jpeg)
file #33439:  test.csv added by wpeaton (208KiB - application/vnd.ms-excel)
file #33438:  pcolor_trouble.m added by wpeaton (947B - application/x-download)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by wpeaton (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-24 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2015-03-24 mtmiller Item GroupNone Regression
        StatusNone Confirmed
        Release3.8.2 dev
        Operating SystemMicrosoft Windows Any
    2015-03-24 wpeaton Attached File- Added pcolor_trouble.m, #33438
        Attached File- Added test.csv, #33439
        Attached File- Added test.jpg, #33440

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code