Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 8.5.0G SR1 Operating System: Win XP
I tried to plot data from the following forumlar in y-log Plot: Y = -13.6*x*x; with x values from 1 to 32 and caluclated y values.
But because the values are less then 0 it was not possible to set a plot range from -20000 to -1. (Yes I know that log(x) is not defined for x<0. But a log like display style is sometimes also interessting for negative values.)
Now I tried to plot the y = 13.6*x*x formular instead of the y = -13.6*x*x formular and plot it in y-log style with inverted y-range from y_min=20000 to y_max=1.
But the result was a graphic display error.
as you see, the angular between x and y axis is not anymore 90° and also the numbers are wrong placed.
First I want to inform the Origin Company and secondly I am looking for a solution how to display negative values with strongly different orders of magnitude in a logarithmic way without manually calculating a Y2 = - log(-Y) from the negative Y values.
This is a bug in 8.5SR1 that has been fixed in internal builds and will be available to maintenance customers when 8.5.1 is released or to everyone else when 9.0 is released.
There is a workaround. After you first create the plot: Open the Script Window (under the Window menu in Origin) Copy and paste the next line layer.y.reverse = 1 and press Enter You should see the X axis flip to the top of the graph Select Format : Axes : Y Axis and change the Scale Type to Log10 Enter From = 1 and To = 20000 and click OK
(You can also use the Tick Labels and Title & Format tabs to use the Top axis rather than the Bottom since the above command has exchanged 'top' and 'bottom'.)