From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

reverse axis

Solved!
Go to solution

Hi,

 

I am trying to reverse the order of my 2D plot's y axis (make it decreasing).

I am using Diadem 2012.

I see that in the older versions there was a "mirror.." selection, but in Diadem 2012 I couldn't find it..

Any suggestions?

 

Regards,

 

 

0 Kudos
Message 1 of 5
(5,398 Views)

Hi Koray,

 

The new "Scaling Type" is called "Inverted", for either the X or Y axis.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 2 of 5
(5,378 Views)

Brad,

 

Thanks. But in fact I tried it but did not work.

I should have given a little more detail; my y-axis is date & time.

When I select "inverted", it straightly takes the negative values of xx10^10 fold numbers.

My purpose is to obtain a graph with date/times on y axis in decdending order..

 

Thanks & Regards,

0 Kudos
Message 3 of 5
(5,375 Views)
Solution
Accepted by topic author KorayKinik

Hi Koray,

 

Ah, you're right.  The "Scaling Type" property is either "DateTime" or "Inverted", not both.  You can set it to "Inverted", but then you have to set the "Display format" property of the DateTime channel in the Data Portal to "Numeric" in order for the "Inverted" setting to stick.  Then your axis displays the number of seconds since 0 AD proceeding from top to bottom.  In order to display inverted date time values, you'd need to additionally create a UserCommand that uses the RTT() command and invoke it as an @@ function expression, passing it the CFV variable, in the Numbers Format field of the Y axis.  I can help you do that, but it's not easy or obvious.

 

Still interested?

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 4 of 5
(5,371 Views)

Brad,

 

Thanks for the detailed answer..

Apparently I will need to find a way around it (e.g. represent the data horizontally)..

 

Regards,

0 Kudos
Message 5 of 5
(5,367 Views)