bugGNU Octave - Bugs: bug #42305, Figure stretch-to-fill feature

 
 

bug #42305: Figure stretch-to-fill feature

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Tue 06 May 2014 11:00:29 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.8.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 06 May 2014 09:25:19 PM UTC, comment #3:

This issue with images was reported earlier and was fixed on the stable branch. It will be a part of the 3.8.2 release.

In the meantime, probably best to just use 'axis normal' after the imagesc command.

Rik <rik5>
Project Administrator
Tue 06 May 2014 11:41:30 AM UTC, comment #2:

Now this trick would be how to set this as the default behaviour?!?

I have delved into .octaverc with various combinations of set(0,'defaultfigure.......') and set(0,'defaultaxes......') without finding a working combination. Any help please!

Ceral Paquet <octavebugs>
Tue 06 May 2014 11:08:04 AM UTC, comment #1:

Wait - I just found what I'm looking for: axis normal.

Sorry for the noise :)

Ceral Paquet <octavebugs>
Tue 06 May 2014 11:00:29 AM UTC, original submission:

In octave, when you subplot images they are displayed in the correct aspect ratio - which has some advantages - but also means they look quite small. By default, MATLAB stretches the images to fill the available space. I believe this is set by "axis fill". It is the default in MATLAB but is unimplemented in Octave.

>> axis fill

warning: unknown axis option 'fill'

Example to see the small (yet perfectly formed) figures:

q = randn(100);
subplot(1,3,1); imagesc(q);
subplot(1,3,2); imagesc(-q);
subplot(1,3,3); imagesc(abs(q));

I wonder if someone can implement a stretch-to-fill option for axis? By the way, the new GUI is magnificent! Amazing job.

Ceral Paquet <octavebugs>

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 06 May 2014 09:25:19 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1