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

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

[Octave-bug-tracker] [bug #38553] axis() command and badly re-drawn plot


From: Rik
Subject: [Octave-bug-tracker] [bug #38553] axis() command and badly re-drawn plots
Date: Tue, 19 Mar 2013 21:57:06 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0

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

                 Summary: axis() command and badly re-drawn plots
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Tue 19 Mar 2013 02:57:04 PM PDT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

There seems to be a problem when using the axis() command to manually set the
axis size.  The problem is manifested as odd spacing of labels or odd
calculated lengths for axis tick marks.  This may have something to do with
turning off update routines while another update routine is executing.

Sample code exhibiting long x-tick lengths:


plot (1:100)
axis ([0 100 -50 250])
axis ([0 100 -50 50])


This produces the attached plot.  The commands need to be typed in
individually.  If I put them in a file and source the file then everything
works.

The following sample code causes the xlabel to be squished up against the
x-axis labeling which is incorrect.


plot (1:100)
xlabel ('x-axis')
ylabel ('y-axis')
axis ([0 80 1 100])
axis ([0 80 -50 250])


See the second attached file for the produced plot.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 19 Mar 2013 02:57:04 PM PDT  Name: ytick_size.jpg  Size: 17kB   By:
rik5

<http://savannah.gnu.org/bugs/download.php?file_id=27635>
-------------------------------------------------------
Date: Tue 19 Mar 2013 02:57:04 PM PDT  Name: xlabel_squish.jpg  Size: 17kB  
By: rik5

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

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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