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

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

[Octave-bug-tracker] [bug #50493] datetick crashes on certain date range


From: Lars Kindermann
Subject: [Octave-bug-tracker] [bug #50493] datetick crashes on certain date ranges
Date: Thu, 16 Mar 2017 10:30:27 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

Follow-up Comment #11, bug #50493 (project octave):

Here is an example why the current version with just the fix in datenum may
produce misleading plots in some cases.


#100 days in 10 minute resulution
t = datenum([2000 01 01]) + (0 : 1/144 : 100); 
#simulation of global radiation       
x = cos(2*pi*t) + cos(2*pi*t/365);
graphics_toolkit gnuplot
plot(t,x)
datetick x
grid on
xlim([datenum([2000 02 28]) datenum([2000 03 18])])
print example.png


The example is attached. One tick is placed at midnight, the other at noon.

(file #40016)
    _______________________________________________________

Additional Item Attachment:

File name: example.png                    Size:16 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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