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
 Double x plot
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

JRLCAR

7 Posts

Posted - 02/15/2019 :  04:02:10 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

I would like to plot a graph with two x axis, with the second one linked to the first by a non linear formulae like x2=a*x1^2. But I would like to put the ticks of this second axis where I want and not at the same positions than the x1 ticks.
Can someone help me ?
Thank you in advance !!

Origin Ver. and Service Release (Select Help-->About Origin): 2018 64bit
Operating System: Windows10

YimingChen

1607 Posts

Posted - 02/15/2019 :  09:43:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please first add upper x axis, then make the settings as shown in the figure. Make sure the upper x axis scale range ought to accommodate the lower x axis scale.



James
Go to Top of Page

JRLCAR

7 Posts

Posted - 02/15/2019 :  10:04:09 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you very much James for your answer, this is exactly what I wanted !
Go to Top of Page

JRLCAR

7 Posts

Posted - 02/15/2019 :  11:06:25 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

Hi,

Make sure the upper x axis scale range ought to accommodate the lower x axis scale.


James



I'm not sure to understand what it means. Is it related with the error message "From value exeeds the range of inverse formula" ?
Actually, my formula is a little more complicated : -0,8887+8,03888E-4*x+7,21815E-7*x^2

Thank you again for your help !!
Go to Top of Page

YimingChen

1607 Posts

Posted - 02/15/2019 :  1:44:46 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
That means if the x scale of bottom axis is from x1 to x2. Then the upper axis scale should be set to f(x1) to f(x2) where f(x) = -0,8887+8,03888E-4*x+7,21815E-7*x^2

James
Go to Top of Page

JRLCAR

7 Posts

Posted - 02/18/2019 :  01:56:55 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I think the problem comes from there is a factor 10^30 in my inverse formula and Origin cannot handle it ...
Go to Top of Page

YimingChen

1607 Posts

Posted - 02/18/2019 :  10:23:55 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
That should still be within the range that Origin can handle. Please send your project to <tech@originlab.com> and we can check further.

James
Go to Top of Page

JRLCAR

7 Posts

Posted - 02/18/2019 :  10:45:13 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

That should still be within the range that Origin can handle. Please send your project to <tech@originlab.com> and we can check further.

James



Thank you James, it's working now, I think I reversed inverse and direct formula because it is not intuitive for me that the formula to go from bottom to top axis is the inverse formula...
Thank you again for your help
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