bugGNU Octave - Bugs: bug #45400, data aspect ratio

 
 

bug #45400: data aspect ratio

Submitter:  None
Submitted:  Wed 24 Jun 2015 09:20:44 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Erick Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.1
Operating System:  * Mac OS Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 25 Jun 2015 04:58:55 PM UTC, comment #1: 

Thanks for your bug report. I believe this was a bug in version 3.8.1 and has been fixed in 3.8.2 and newer. At any rate it works correctly for me with 4.0.0 and I seem to recall this coming up before. Please try again in a current version of Octave and feel free to reopen if the problem persists.

Mike Miller <mtmiller>
Group Member
Wed 24 Jun 2015 09:20:44 PM UTC, original submission:  

Hi,

I discovered this behaviour while using specgram.

The following code should produce expected.png but instead produces result.png.

CODE:
"""
specgram(chirp([0:0.001:5]), 256, 1000); # linear, 0-100Hz in 1 sec
"""

It can be "fixed" by the next line of code.

CODE:
"""
set(gca, 'dataaspectratio', [0.01 1 1])
"""

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #34313:  result.png added by None (33KiB - image/png)
file #34312:  expected.png added by None (21KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by None (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-25 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed
    2015-06-24 None Attached File- Added result.png, #34313
    2015-06-24 None Attached File- Added expected.png, #34312

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code