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