bugGNU Octave - Bugs: bug #40258, orient doesn't return 'tall' as...

 
 

bug #40258: orient doesn't return 'tall' as possible orientation

Submitted by:  Rik <rik5>
Submitted on:  Sun 13 Oct 2013 05:51:32 PM UTC  
 
Category: Octave FunctionSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Fri 18 Oct 2013 08:58:10 PM UTC, comment #6:

Alright, everything fixed up here (http://hg.savannah.gnu.org/hgweb/octave/rev/cf43cc342bfa). Closing report.

Rik <rik5>
Project Administrator
Fri 18 Oct 2013 07:36:06 PM UTC, comment #5:

Ok. I didn't realize that orient() returned an output. R2013a works the same as R2009b (Michael's result)

Ben Abbott <bpabbott>
Project Member
Fri 18 Oct 2013 07:06:24 PM UTC, comment #4:

On Matlab R2009b I get:

>> plot (rand(3));
>> orient ('tall')
>> orient


ans =

tall

>>


Michael Godfrey <godfrey>
Project Member
Fri 18 Oct 2013 07:03:31 PM UTC, comment #3:

I see that it is an input option, I was wondering if it was also an output from the function? Does Matlab check that orientation == "portrait" and paperposition == size of page with 0.25" margin and return the string "tall" or does it just return the value of the paperorientation property which would be "portrait"

The test code below sets the orientation and then queries it to see if "tall" or "portrait" is returned.

Rik <rik5>
Project Administrator
Fri 18 Oct 2013 06:34:01 PM UTC, comment #2:

"tall" is an option. It indicates the orientation should be "portrait" and the paperpostion = [0.25 0.25 papersize-0.5].

Ben Abbott <bpabbott>
Project Member
Fri 18 Oct 2013 06:20:13 PM UTC, comment #1:

Ben, does Matlab actually return an orientation of "tall", or is it only an input option? Does the following code return 'tall' or 'portrait'?

Rik <rik5>
Project Administrator
Sun 13 Oct 2013 05:51:32 PM UTC, original submission:

According to the documentation for the orient function (http://www.mathworks.com/help/matlab/ref/orient.html) it looks like querying the current orientation with 'orient' can return 'tall'.

Currently Octave returns just "portrait" or "landscape".

Rik <rik5>
Project Administrator

 

(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 godfrey (Posted a comment)
  • -unavailable- added by bpabbott (Posted a comment)
  • -unavailable- added by rik5
  • -unavailable- added by rik5 (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 18 Oct 2013 08:58:10 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 18 Oct 2013 06:19:05 PM UTCrik5Carbon-Copy-=>Added bpabbott

    Back to the top


    Powered by Savane 3.1-cleanup1