T O P I C R E V I E W |
ucfahmg |
Posted - 11/19/2012 : 1:17:16 PM Apologies as this is very basic but on a 2D line and symbol graph I am trying to change my x and y axis. My graphs are displaying what I want but I am looking at the change in temp (y) over a depth profile (x) and it is typical that the depth is usually shown on the y access from 0 downwards as if you were looking at the water column. Is there any way in which to flip the x and y positions - if I try and alter the data in any other way - it doesn't show me what I want. |
1 L A T E S T R E P L I E S (Newest First) |
greg |
Posted - 11/20/2012 : 11:56:33 AM On the Graph menu, there is an Exchange X-Y axis option. You can edit the scale (Format : Axes : X Axis) so From is greater than To get the depth to go 'down'.
Programmatically, this is done with Layer properties.
If the graph layer in question is active .. layer.EXCHANGEXY = 1; // Exchanges X and Y layer.REVERSE = 1; // Results in x scale going down
or the more general case .. Graph2!layer2.EXCHANGEXY = 1; Graph2!layer2.REVERSE = 1;
See the Layer Object help for additional properties |