Author |
Topic  |
|
roland@nrl1
USA
4 Posts |
Posted - 07/05/2006 : 1:34:23 PM
|
Origin Version (Select Help-->About Origin): 7.5 SR6 Operating System: WinXP
I have plotted data on a log x-axis. When I divide the values by 6.28 using "divide by factor" under "tick labels", the tic marks remain at the original powers of ten, so that they are now labeled as 6.28 62.8, 628, etc.
Is there a way to correct this? |
|
Mike
USA
357 Posts |
Posted - 07/05/2006 : 3:12:56 PM
|
Hi roland:
I'm not sure what you want to do, but this divide-by-factor merely divides each tick label value by some factor. It doesn't change the tick mark location nor does replot your data against the "divided by" values. I can't think of many uses for this control but one that comes to mind is converting normalized values on a scale of 0 to 1 to, say, percentages.
If what you want to do is to divide your original data values by 6.28, then I would create a new column in the worksheet and use the Set Column Values feature to divide the original data by 6.28 (e.g. (col(b)/6.28)). Then plot the recalculated data and set your axis scale type to log10.
Mike OriginLab
|
 |
|
roland@nrl1
USA
4 Posts |
Posted - 07/05/2006 : 3:28:18 PM
|
I have data plotted versus Hertz and need to replot versus rad/s. Your solution is not really feasilbe - converting the values in the worksheets would take a very long time (there are many dozens of curves).
Dividing by factor of 2 x PI in graph axes would solve the problem, but for the tic marks not being redrawn. |
 |
|
easwar
USA
1965 Posts |
Posted - 07/05/2006 : 4:42:51 PM
|
Hi,
As you don't want to change the worksheet by adding columns etc, one other solution is to use a graph with two layers, such as below:
1> Plot your data using a standard template such as Line, Scatter, Line+Symbol 2> Use the Edit->New Layer(Axes)->(Linked) Top X menu item to add a second layer to graph that only has a top X axis 3> Double-click on the top axis and set scale to Log 4> Double click inside the graph to bring up Plot Details dialog 5> Select Layer2 in tree on left panel and then select Link Axes Scales tab on right panel 6> Select Custom radio in X Axis Link group and enter the formulae: x1=x1/(2*pi) x2=x2/(2*pi) and click OK
You should then get a graph such as below.
Note that: -> You could save such a graph as a template and plot all your data using the saved template -> Data should always be plotted into Layer 1. The second layer, layer 2 exists only for the cosmetic purpose of showing the correct relationship for the axis -> This graph shows both units, herts and rad/s. If you want to show only rad/s. and not hertz, that could be done by taking two Layers and merging them on top of each other and linking 2nd to first as above, and then hiding x axis of layer 1. For help with this you can contact tech support.
Easwar OriginLab

|
 |
|
|
Topic  |
|
|
|