Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

plot one to one scale

I have a collegue attempting to create an XY graph in Measurement Studio 8.5 that has x and y axes that are of a ratio one to one. The data in the graph is representative of real-life geometry profile, so the curve plot needs to look of true scale, ie x and y axes of a 1:1 ratio. Given the plot area can be of any size, as chosen by the user, it's not possible to just set the axes limits to be the same as each other, as the physical plot might be twice as wide as it's height, hence creating a stretched plot.
Is it possible to set the axes scales to be of a fixed ratio?
Thoric
Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 1 of 4
(4,025 Views)
Just a thought.... Can't you just get the size of the graph (dimension of the graph control), and get the aspect ratio of that. Then set the range of the X- and yaxis accordingly? You can eventually do this in the form resized event handler to do is dynamicly.


RMW
0 Kudos
Message 2 of 4
(4,009 Views)
Yeah, this was the only solution we could think of also. Thanks for the thought Smiley Happy
Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 3 of 4
(4,007 Views)

Hi,

I am unaware of any preset options to allow you to do this, I believe doing this programatically (as stated in the earlier post) would be your best option to get this behaviour from the graph.

All the best,

Applications Engineer
0 Kudos
Message 4 of 4
(3,985 Views)