bugGNU Octave - Bugs: bug #39448, xminorticks for a semilogx plot...


bug #39448: xminorticks for a semilogx plot incorrectly displayed

Submitted by:  None
Submitted on:  Tue 09 Jul 2013 01:24:20 PM UTC  
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Assigned to:  None
Originator Name:  ikossev Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  3.6.4
Operating System:  Microsoft Windows

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 10 Jul 2013 09:15:05 PM UTC, comment #1:

Duplicate of bug #39449. Keeping original.

Rik <rik5>
Project Administrator
Tue 09 Jul 2013 01:24:20 PM UTC, original submission:

In the plot I obtain from semilogx the minor ticks are incorrect.

The script ('octave_drag_coefficient_sphere.m') I use is attached to the report. I run the script manually in the octave console (see below or attached image "run_script_octave_command_line.png"):

- expected result: in the plot minor and major tics on the x axis are plotted correctly (e.g. there are nine minor tics between every two adjacent exponents of 10, e.g. 1.0e-7 and 1.0e-6).

- observed result: The major tics are shown only for the even exponents of 10 (e.g. 1.0e-6, 1.0e-4, etc.) and there are nine minor tics between every two adjacent major tics. This behaviour does not seem to be correct (see attached image "Output_nominal_v3.6.4.png")


Tried to use

'xtick', [1.0e-7 1.0e-6 1.0e-5 1.0e-4 1.0e-3 1.0e-2 1.0e-1 1.0 10.0],



'xtickmode', 'manual',

but this does not lead to the desired correct display of the minor tics (see attached images "Output_uncommented_line*.png")

Tried with octave v3.2.4 for Windows and only when line 82, 83 and 87 are commented out, then the plot is correct (see attached image "Output_nominal_v3.2.4.png").

Additional Info:
OS: Win7 Pro x64



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

Attach Files:

Attached Files
file #28520:  octave_logscale_bug_screen_shots.7z added by None (230KiB - application/octet-stream)


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 None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-07-10 rik5 StatusNone => Duplicate
        Open/ClosedOpen => Closed
    2013-07-09 None Attached File- => Added octave_logscale_bug_screen_shots.7z, #28520

    Back to the top

    Powered by Savane 3.3