03-09-2011 06:08 AM
hello,
i m using a waveform graph and wanted to update its x-axis scale depending on the multiplier value. Also how this
formula of offset n multiplier works (deltaX)*X+X0? What is delta X and X?
Regards,
vijtin
Solved! Go to Solution.
03-09-2011 07:42 AM
hi,
X0 is the offset and X is the multiplier. So the graph will start at a cetain offset and will aa to that the delta value times the multiplier.
e.g.
If you would have these normal X-values : 0 ; 1 ; 2 ; 3 ; 4 ; 5 and a multiplier of 2 and ofset of 5 you would get the result on the X-as = 5 ; 7 ; 9 ; 11 ; 13
Hope this helps 😉
03-09-2011 10:02 PM
Thanks a Lot!!!
12-07-2013 09:31 AM
What's "deltaX"?
12-07-2013 10:29 AM
Delta refers to change - in this case the amount of change on the x-axis between points.
12-07-2013 10:34 AM
Can you give me example?
12-07-2013 10:37 AM
Your questions are highly ambiguous. I have no idea what you are looking for except in a very generic manner. Simply saying what is deltax is pretty meaningless all bt itself.
12-07-2013 10:43 AM
This mean is example in waveform graph. I want know deltaX when calculator (deltaX)*X + Xo. Purpose is control Multiplier in waveform graph.
12-07-2013 10:47 AM
How know deltaX when i want control multiplier in waveform graph?
12-07-2013 11:09 AM - edited 12-07-2013 11:09 AM
The default multiplier/delta x for a graph is 1 and the offset (x start is 0). So, for example, you were plotting an array of values versus time, the first point would be at x=0, the second point would be at x=1, the third is at x=2, etc. If you were using a DAQ device and set if for 1000 samples/second, the delta x would be .001 (1/1000) and the graph would show samples every 1 msec. When you use a waveform data type, the graph can use the dt (same as dx) property of the datatype to automatically set the multiplier of the graph. Otherwise, you can use a graph property node to set the multipier. Right click on the graph terminal and select Create property node>XScale>Offset and Multiplier>Multiplier. Right click on the property node and select Change to Write.