09-23-2013 02:02 AM
hi all?? I'm having a problem...
I'm having two 1D arrays, I have plotted them by using XY graph with bar graph, The probelm is i'm not able to get the bar graph with consant width.
How to get the bar with constant width...
Could any one Please through some light for my querie?
I'm attaching my VI, front panel, block diagram
Thanks in advance..
Solved! Go to Solution.
09-23-2013 02:44 AM - edited 09-23-2013 02:48 AM
Hi girikavali,
you need to supply data with constant gaps between x coordinates...
Easiest would be to include some more points in your data: add a point "left" and "right" to each x value with constant dx ("x-dx" and "x+dx"). Use "NaN" as y value sfor these added points...
Example:
09-23-2013 03:37 AM
Thank You GredW.
Is there any programming way to do that.. I mean by using property node (or by another way) to maintain the constant bar width.
Thanks & Regards..
09-23-2013 03:42 AM
09-23-2013 03:53 AM
Thank you GredW..... I got it....