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  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 
<== Date ==> <== Thread ==>

Subject: histogram record and CSS XY Graph
From: "gennaro.tortone@na.infn.it" <tortone@na.infn.it>
To: tech-talk@aps.anl.gov
Date: Mon, 13 Oct 2014 15:48:41 +0200 (CEST)

Hi,
I'm using a 'histogram' record to store some values:

record(histogram,"$(P):noisefloor") {
   field(DTYP,"$(D)")
   field(DESC,"LTC2499 noise floor")
   field(SCAN,"1 second")
   field(SVL,"$(P):microvolt:CH0")
   field(ULIM,20)
   field(LLIM,-20)
   field(NELM,100)
}

as you can see number of bin is 100 and values are from -20 to 20;

I'm able to create a histogram on CSS starting from XY Graph widget, but
X axis reports values from 0 to 100. Is there a script in order to display
values from -20 to 20 ?

If I set 'Minumum' and 'Maximum' properties of "Primary X Axis" to -20 and
20 the graph is empty because values are plotted by histogram index and not by histogram value... (e.g. value 0 -> position 50)

Thanks in advance,
Gennaro

--
Gennaro Tortone
INFN Napoli
Italy
tel: +39 81 676169

"Computer Science is no more about computers
    than astronomy is about telescopes."
    - Edsger Dijkstra

Replies:
Re: histogram record and CSS XY Graph Kasemir, Kay

Navigate by Date:
Prev: Re: Fanout to Sub Records in a Different IOC Causes Core Dump Steven
Next: Re: histogram record and CSS XY Graph Kasemir, Kay
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 
Navigate by Thread:
Prev: PCASpy 0.5.1 Xiaoqiang Wang
Next: Re: histogram record and CSS XY Graph Kasemir, Kay
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 
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 ·