octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45400] data aspect ratio


From: anonymous
Subject: [Octave-bug-tracker] [bug #45400] data aspect ratio
Date: Wed, 24 Jun 2015 21:20:46 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0

URL:
  <http://savannah.gnu.org/bugs/?45400>

                 Summary: data aspect ratio
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 24 Jun 2015 09:20:44 PM UTC
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Erick
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: Mac OS

    _______________________________________________________

Details:

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])
"""



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 24 Jun 2015 09:20:45 PM UTC  Name: result.png  Size: 33kB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=34313>
-------------------------------------------------------
Date: Wed 24 Jun 2015 09:20:44 PM UTC  Name: expected.png  Size: 21kB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=34312>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45400>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]