The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Symbols regularly spaced with logarithmic scale
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Gege75

France
2 Posts

Posted - 11/01/2016 :  11:13:36 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8 SR4
Operating System: Windows 7

Hi,

I have done a graph with logarithmic scale on X, for data corresponding to (X,Y) points with X regularly spaced.
That is to say, somethings like that for the data in two columns:

1 Y_1
2 Y_2
3 Y_3
4 Y_4
...
100000 1 Y_100000

I would like to add symbols on the lines corresponding to the plot in the graph. However I need to use the 'skip points' option to ensure that symbols are not plotted for each 100 000 lines.

In my case, symbols are plotted every 200 values which is quite correct.



However, as I use a logarithmic scale, the graph is not very nice. Indeed, the symbols are distant on the left hand side and close on the right hand side part of the figure. This is due to the fact that symbols are systematically plotted when X varies from 200 units.

Is it possible to correct this problem ?
For logarithmic scale when using 'line+symbols' for 'plot type', is it possible to adapt the drawing of symbols in order to keep a fixed distance between them in logarithmic scale ?
Is it possible to obtain a drawing where symbols are regularly spaced in logarithmic scale ?

Gege

Edited by - Gege75 on 11/01/2016 12:12:46 PM

AmandaLu

439 Posts

Posted - 11/02/2016 :  02:17:09 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Origin cannot do this right now. My workaround is, calculate the X values at which you want to show symbols, interpolate the corresponding Y values, and then add this symbol plot to your original line plot. Suppose your XY data (row number 1 - 10000) is in col (A) and col(B). To show symbols at evenly spaced Log10 scale, you need to calculate X values as col(E) and col(F) as following image. Then calculate the corresponding Y values by Analysis: Mathematics: Interpolate/Extrapolate Y from X.



Thanks,
Amanda
Go to Top of Page

Gege75

France
2 Posts

Posted - 11/02/2016 :  5:07:03 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks a lot !
It works fine.

Gege
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000