DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Conversion from data space to plot size ratio?

 
Post new topic   Reply to topic    DPlot Forum Index -> C, C++, C#
View previous topic :: View next topic  
Author Message
rkm



Joined: 21 Nov 2012
Posts: 27

PostPosted: Sun Jan 13, 2013 12:42 pm    Post subject: Conversion from data space to plot size ratio? Reply with quote

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.
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Sun Jan 13, 2013 4:04 pm    Post subject: Reply with quote

For a linear Y scale you could use an equation:

1-(<your Y value>-$YMIN)/($YMAX-$YMIN)
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rkm



Joined: 21 Nov 2012
Posts: 27

PostPosted: Mon Jan 14, 2013 10:00 am    Post subject: Reply with quote

Thanks, I'll do that. Was just wondering if there was I macro I might have missed.

-rob
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> C, C++, C# All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group