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: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: DuplicateAssigned to: None
Originator Name: ikossevOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.4
Operating System: Microsoft Windows

Add a New Comment (Rich MarkupRich 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")

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 File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to 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
    Wed 10 Jul 2013 09:15:05 PM UTCrik5StatusNone=>Duplicate
      Open/ClosedOpen=>Closed
    Tue 09 Jul 2013 01:24:20 PM UTCNoneAttached File-=>Added octave_logscale_bug_screen_shots.7z, #28520

    Back to the top


    Powered by Savane 3.1-cleanup