EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: EDM XY Graph
From: Zenon Szalata <[email protected]>
To: "[email protected]" <[email protected]>
Date: Tue, 17 Jun 2014 12:27:23 -0700
Hi,
I am developing an IOC to fit data using Chi Square fitting routine. This is working well. I don't understand why the EDM x-y graph widget is showing one extra point, see attachment.
Here are the test data that is being fitted with a quadratic function:
-1.7237128     23.095947     0.2
-1.3703436     15.971818     0.2
-0.96608055    10.204468     0.2
-0.28394297     5.40507      0.2
-0.14970151     4.9337711    0.2
 0.042581975    4.7668524    0.2
 0.82065094     8.7348375    0.2
 1.3416969     15.787588     0.2
 1.3757038     16.520903     0.2
 1.8712276     26.449392     0.2
 where the first column is x, second is y, and third is error on y.
The EDM graph shows the y data points as circles (red) and the fitted curve (blue). I have three waveform records of type FLOAT and NELM 1000. When these waveforms are filled with data, NORD is 10 in each record.

Why is the widget showing 11 point when NORD is 10?
I don't know how to make it not show the 11th point at (0,0).
Can it be done by changing some parameter in EDM?
I see this behavior in an older version of EDM as well as in version 1-12-96.
Any suggestions will be welcome.
Thanks,
Zen

Attachment: quadFit.png
Description: PNG image


Replies:
RE: EDM XY Graph Allison, Stephanie

Navigate by Date:
Prev: RE: ASYN port driver for file IO? Mark Rivers
Next: RE: EDM XY Graph Allison, Stephanie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: ASYN port driver for file IO? Benjamin Franksen
Next: RE: EDM XY Graph Allison, Stephanie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·