bugGNU Octave - Bugs: bug #47322, Automatic x labels on plots may...

 
 

bug #47322: Automatic x labels on plots may overlap

Submitter:  Muhali <muhali>
Submitted:  Wed 02 Mar 2016 05:47:19 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 02 Mar 2016 06:19:50 PM UTC, comment #1: 

This is a known bug.  Octave tries to compute approximately 4-7 divisions for automatic tick marks.  That calculation is done based on the xlimits of the plot.  Once those are calculated Octave just puts them on the graph, regardless of whether they fit.  You can see the same thing without subplot simply by changing the fontsize.


plot (1:1e6);
set (gca, "fontsize", 40);


There might already be a bug reported about this, I'm not sure.  I've re-titled the report since it is not specific to subplots.

Rik <rik5>
Group administrator
Wed 02 Mar 2016 05:47:19 PM UTC, original submission:  

Executing


subplot(1,2,1)
plot(1:100000)


produces squashed x labels.

Muhali <muhali>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-02 rik5 StatusNone Confirmed
        Summaryx labels in subplot get squashed Automatic x labels on plots may overlap

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code