[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33748] plotyy: only subset of data series plo
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #33748] plotyy: only subset of data series plotted in FLTK |
Date: |
Wed, 20 Jul 2011 20:30:31 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 |
Update of bug #33748 (project octave):
Priority: 5 - Normal => 2
Status: None => Duplicate
_______________________________________________________
Follow-up Comment #1:
This is a problem with data precision and the fact that the FLTK uses variable
of class single (~8 digits of precision) versus the doubles that gnuplot
uses.
There is already a bug report filed against that so I am marking this as a
duplicate.
It is simple to work around this issue. In general, you want to discard any
common element in the data to enhance the precision. For example, imagine
making a time series plot where the x-axis went from 2000 to 2009. If I use
that range I take 4 digits of precision. Alternatively, I could subtract by
the common factor 2000, and then the range is 0-9 which takes only 1 digit of
precision. I'm attaching a script which demonstrates how to get a correct
plot using your data. In this case I used center() on your x-axis data which
subtracts the mean from data.
(file #23680)
_______________________________________________________
Additional Item Attachment:
File name: plotyy_fltk_fixed.m Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33748>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/