help-octave
[Top][All Lists]
Advanced

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

Re: help wiith datenum


From: Mike Miller
Subject: Re: help wiith datenum
Date: Thu, 2 Jul 2015 10:22:47 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, Jul 01, 2015 at 19:35:22 -0600, Trevor Clark wrote:
> If this is a fundamental issue with datenum could work be done to add this
> functionality?

Hi Trevor, the problem is actually with the OpenGL plotting Octave uses
by default, not with the datenum function. OpenGL plots only operate on
single precision floating point values, so if your x-axis has a large
magnitude and very small relative step size, the plot will not render
correctly.

One workaround, if possible, is to subtract an initial time offset from
your datenum-based x-axis range. For example subtract off the start of
the day or week.

Another workaround is to use gnuplot for plotting instead of the default
OpenGL plotting.

The relevant open bug report is https://savannah.gnu.org/bugs/?32980.

HTH,

-- 
mike



reply via email to

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