bugGNU Octave - Bugs: bug #53374, Grid partly missing in logarithmic...

 
 

bug #53374: Grid partly missing in logarithmic plot

Submitter:  Bjorn Blixhavn <bjornb>
Submitted:  Sun 18 Mar 2018 09:17:46 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Fixed Assigned to:  None
Originator Name:  Bjorn Blixhavn Open/Closed:  * Closed
Release:  * 4.2.1 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 18 Mar 2018 11:09:59 AM UTC, comment #1: 

Confirmed with Octave-4.2.2 (just released).

However, with the development version it works fine (see attached pic). Within about a month 4.4.0 will be released so you'll be fine then.

Closing as fixed.


Philip Nienhuis <philipnienhuis>
Group Member
Sun 18 Mar 2018 09:17:46 AM UTC, original submission:  

This problem appears when using Qt as graphics toolkit.
When plotting with semilogx(), and setting the x-axis to end at a value that is not a power of 10, the last part of the plot does not have vertical minor grid lines.


clear
close all
graphics_toolkit qt
x=1:600;
y=1./x;    % Or whatever function
figure(1)
semilogx(x,y);
grid on
axis([1 600 0 1])
set(gca,"gridlinestyle","-")
set(gca,"minorgridlinestyle","-")


Changing from Qt to gnuplot will resolve the problem.

Bjorn Blixhavn <bjornb>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bjornb (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-18 philipnienhuis Attached File- Added Bug-53374_example.PNG, #43587
        StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code