Page 1 of 1

Conversion from data space to plot size ratio?

Posted: Sun Jan 13, 2013 12:42 pm
by rkm
Is there a macro or other simple means to convert from data space to plot size ratios?

I'd like to use TextNoteEx() with the X value expressed in data space coordinates but the Y value expressed in the default ratios of plot size.

Posted: Sun Jan 13, 2013 4:04 pm
by DPlotAdmin
For a linear Y scale you could use an equation:

1-(<your Y value>-$YMIN)/($YMAX-$YMIN)

Posted: Mon Jan 14, 2013 10:00 am
by rkm
Thanks, I'll do that. Was just wondering if there was I macro I might have missed.

-rob