octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #39448] xminorticks for a semilogx plot incorr


From: anonymous
Subject: [Octave-bug-tracker] [bug #39448] xminorticks for a semilogx plot incorrectly displayed
Date: Tue, 09 Jul 2013 13:24:22 +0000
User-agent: Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.15

URL:
  <http://savannah.gnu.org/bugs/?39448>

                 Summary: xminorticks for a semilogx plot incorrectly
displayed
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Di 09 Jul 2013 13:24:20 UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: ikossev
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

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



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Di 09 Jul 2013 13:24:20 UTC  Name: octave_logscale_bug_screen_shots.7z 
Size: 230kB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=28520>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39448>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]