05-23-2013 01:29 PM
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,
Solved! Go to Solution.
05-24-2013 11:55 AM
Hi Koray,
The new "Scaling Type" is called "Inverted", for either the X or Y axis.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
05-24-2013 01:21 PM
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,
05-24-2013 02:51 PM
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
05-24-2013 03:02 PM
Brad,
Thanks for the detailed answer..
Apparently I will need to find a way around it (e.g. represent the data horizontally)..
Regards,