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

 
 

bug #39448: xminorticks for a semilogx plot incorrectly displayed

Submitter:  None
Submitted:  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 Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Duplicate of bug #39449.  Keeping original.

Rik <rik5>
Group 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"):


octave:195> octave_drag_coefficient_sphere


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

Investigations:

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],

or

'xtick',[1.0e-7,1.0e-5,1.0e-3,1.0e-1,1.0e1],
and

'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

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    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
    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.13-d3ae.
    Corresponding source code