visualdatatools.com Forum Index visualdatatools.com
Discussion for DataTank and DataGraph
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using variables in a calculated text expression

 
Post new topic   Reply to topic    visualdatatools.com Forum Index -> Getting Started
View previous topic :: View next topic  
Author Message
pjuk



Joined: 01 Jun 2017
Posts: 19
Location: London, UK

PostPosted: Thu Jun 01, 2017 8:28 am    Post subject: Using variables in a calculated text expression Reply with quote

First off I'd like to say that this software is a godsend for Mac users like myself who've had to rely on graphing programs via virtual machines like Origin to produce publishable graphs!!

The issue I'm having (I'm a very new user) is that I'd like to use the output from fits and manipulate the variables in a calculated expression that I could output to a graph i.e.

Variables A=10 & B=2 & C=5 (for example) from a polynomial fit to create a text expression that is say "A*B*C = 100"

Many thanks!
Back to top
View user's profile Send private message
David
Site Admin


Joined: 25 Nov 2006
Posts: 1940
Location: Chapel Hill, NC

PostPosted: Thu Jun 01, 2017 9:59 am    Post subject: Reply with quote

You can extract fit variables from the Fit command as either a token in the text field (+ button to the right of the field) or as a global variable. To extract the variable you can use the gear menu in the top right corner and also create the variable (Number from Command) and select the command and variable name.

In the current beta there is a new global variable that allows you to combine those numbers by using an expression. Any variable can then be used as a token in a text field.

You can download the beta from https://www.visualdatatools.com/DataGraph/DataGraphBeta.dmg

David
Back to top
View user's profile Send private message Send e-mail
pjuk



Joined: 01 Jun 2017
Posts: 19
Location: London, UK

PostPosted: Thu Jun 01, 2017 10:10 am    Post subject: Reply with quote

Perfect...the beta has the expression command that I was looking for!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    visualdatatools.com Forum Index -> Getting Started All times are GMT - 3 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