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

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

[Octave-bug-tracker] [bug #46047] Strange labels in logarithmic plots


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #46047] Strange labels in logarithmic plots
Date: Thu, 24 Sep 2015 11:52:16 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

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

                 Summary: Strange labels in logarithmic plots
                 Project: GNU Octave
            Submitted by: caliari
            Submitted on: Thu 24 Sep 2015 11:52:16 AM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Dear all,

with the following code


x = (1:8);
y = 10.^(-50:50:300);
semilogy(x,y)


I see nongnuplot.pdf with the two non-gnuplot graphics toolkits and a correct
plot with gnuplot toolkit. But if I add


set(gca,'yticklabel',{'$10^{-50}$','$10^{0}$','$10^{50}$','$10^{100}$','$10^{150}$','$10^{200}$','$10^{250}$','$10^{300}$'})


I get a lot of warnings such as

line 0: warning: integer overflow; changing to floating point

and a final plot which resembles nongnuplot.pdf. I'm pretty sure that it
worked with 3.8.1 (but cannot check now).

Marco



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 24 Sep 2015 11:52:16 AM GMT  Name: nongnuplot.pdf  Size: 40kB   By:
caliari

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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