sanken Posted August 5, 2004 Report Share Posted August 5, 2004 how to get the plot area's position property of a wavegraph in labview 7.1, I can only find the size property. Quote Link to comment
skywalkerxp Posted August 8, 2004 Report Share Posted August 8, 2004 how to get the plot area's position property of a wavegraph in labview 7.1, I can only find the size property.1296[/snapback] Maybe legend->Position->All Elements is what you want?! Quote Link to comment
Michael Aivaliotis Posted August 8, 2004 Report Share Posted August 8, 2004 how to get the plot area's position property of a wavegraph in labview 7.1, I can only find the size property.1296[/snapback] You can't get the plot area position from a property. You can get the entire graph control position but not the plot area. One thing you can do as a work around is to use some simple math to calculate the plot area position if you know the control position. This assumes that the size of the plot area doesn't change relative to the entire control.Maybe legend->Position->All Elements is what you want?! 1327[/snapback] No, this only gives you the position of the legend. The plot area is the black box element that shows the graph. Quote Link to comment
sanken Posted August 14, 2004 Author Report Share Posted August 14, 2004 thanks for your help! yes, I do get the plotarea position by following fomula now: top=graphic.height-(xscale.height+plotarea.height)+devx left=yscale.width+devy Additionary numbers, devx and devy, must be added for fix the result, so I want to get it by: top= xscale.top - plotarea.height left= yscale.left + yscale.width but the results are terrible mistake, why? Does xscale.position means the absolute position in panels but not the relative position in the graphic control? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.