Experimental Physics and Industrial Control System
|
Hi,
We are upgrading from a 3-year old version of EDM to the current
version. For the xyGraphClass we find that the yLabel is displayed
properly by the old version of EDM but backwards by the new version of
EDM. E.g., "current(mA)" becomes ")Am(tnerruc". The spacing between
letters is also off with the new version as well. I did some initial
investigation of the new EDM and also compared old and new EDM code.
The relevant routine within EDM's source is
xyGraphClass::drawYlabel(...). From the old version the code for
moving along the y-axis ...
lY = plotAreaY + ( plotAreaH + lW ) / 2;
for ( i=0; i<strlen(label); i++ ) {
lY -= inc;
From the new version the code for moving along the y-axis ...
lY = plotAreaY + ( plotAreaH - lW ) / 2;
for ( i=0; i<strlen(label); i++ ) {
lY += inc;
The difference in code is what accounts for the backward text. So now
I am wondering what to do about this issue. We don't really want to
maintain our own version of EDM with code changes. Guidance please.
Thank you for your time.
Sincerely,
Carl Schumann
- Replies:
- Re: EDM xyGraphClass yLabel displaying backwards John Sinclair
- Navigate by Date:
- Prev:
RE: Newport XPS motion controllers Mark Rivers
- Next:
How have folks been dealing with the Channel Archiver's 2GB index file limit? Tom Cumming
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
<2008>
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Building CAP5 under windows or cygwin Andrew Johnson
- Next:
Re: EDM xyGraphClass yLabel displaying backwards John Sinclair
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
<2008>
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|