bugGNU Octave - Bugs: bug #34158, axis with x_min>x_max

 
 

bug #34158: axis with x_min>x_max

Submitted by:  Matthias Jüschke <maju>
Submitted on:  Sun 28 Aug 2011 06:21:10 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: Open/Closed: Closed
Release: 3.4.2Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 02 Sep 2011 05:40:38 PM UTC, comment #4:

Good suggestion. I've pushed a slight modification of the suggested change.

http://hg.savannah.gnu.org/hgweb/octave/rev/f7af3834405c

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Fri 02 Sep 2011 05:11:16 PM UTC, comment #3:

For x- y- zlim.m there is a similar effect. As I found in
/usr/share/octave/3.4.0/m/plot/private/__axes_limits__.m
the last case of the if-block
should be replaced by something like
In matlab, you can set a value to Inf, if it is the second, the axis is set to arg(1)+1.

Matthias Jüschke <maju>
Fri 02 Sep 2011 01:31:10 AM UTC, comment #2:

I'm closing this item

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Wed 31 Aug 2011 10:27:27 PM UTC, comment #1:

I slightly modified the suggested modification and pushed a changeset.

http://hg.savannah.gnu.org/hgweb/octave/rev/d2997525fcb6

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sun 28 Aug 2011 06:21:10 PM UTC, original submission:

Using axis with x_min>x_max the x-axis is set to [0,1].
Example:

This could be solved asking in axis.m in
Alternativly, the values could be swapped (and the axis direction can be changed).

The same problem occurs using xlim.

Matthias Jüschke <maju>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bpabbott (Updated the item)
  • -unavailable- added by maju (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 02 Sep 2011 01:31:10 AM UTCbpabbottStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed 31 Aug 2011 10:27:27 PM UTCbpabbottStatusIn Progress=>Ready For Test
    Wed 31 Aug 2011 08:00:43 PM UTCbpabbottStatusNone=>In Progress
      Assigned toNone=>bpabbott

    Back to the top


    Powered by Savane 3.1-cleanup1