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
 How can I construct a plot with 2 different xs
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

amethyste

Germany
23 Posts

Posted - 04/24/2023 :  09:13:45 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

I would like to construct a plot with 2 x parameters one for the simulation and one for the fit. These two both have the same y axis but i want for the fit and the simulation to be connected by a line .
I'd really appreciate any help with this

YimingChen

1651 Posts

Posted - 04/24/2023 :  11:34:09 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Not clear to me what you expect. Could you provide a rough sketch of the plot to give a better idea?

James
Go to Top of Page

amethyste

Germany
23 Posts

Posted - 04/24/2023 :  11:51:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply


I want every simulated point to have a line that goes to its fitted point if that makes any sense.
I hope this is clearer
Go to Top of Page

YimingChen

1651 Posts

Posted - 04/24/2023 :  12:24:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Could you check the Lollipop Plot?You might need to switch the x and y columns.
https://www.originlab.com/doc/Origin-Help/Lollipop-Plot?f=dl
Go to Top of Page

amethyste

Germany
23 Posts

Posted - 04/25/2023 :  08:44:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Is there anyway i could have a lollipop plot with 2 x axes and 1 y axes? It was only wanting to have 2 y axes
Go to Top of Page

YimingChen

1651 Posts

Posted - 04/25/2023 :  09:55:18 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please check the attached project file with the Lollipop plot. Note the values in the two y columns will display as x values in the graph.
https://my.originlab.com/ftp/forum_and_kbase/Images/Lollipop.opju



James

Edited by - YimingChen on 04/25/2023 10:43:32 AM
Go to Top of Page

amethyste

Germany
23 Posts

Posted - 05/03/2023 :  10:05:06 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you so much. that is exactly what i wanted. Cab it be though that both the fit and sim have two different x axis? so the same thing but two x axis and two y axis with the lollipop plot?
Go to Top of Page

YimingChen

1651 Posts

Posted - 05/03/2023 :  10:34:19 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You could click on the axis, and in the popped-up mini toolbar, select Show Opposite Axis.
Go to Top of Page

amethyste

Germany
23 Posts

Posted - 05/03/2023 :  11:06:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
And that means for the fit to have different x values than the sim? Meaning i add another column not just an axis
Go to Top of Page

YimingChen

1651 Posts

Posted - 05/03/2023 :  12:25:31 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Please refer to the figure below if you want a separate axis for the sim values.

Edited by - YimingChen on 05/03/2023 12:26:52 PM
Go to Top of Page

amethyste

Germany
23 Posts

Posted - 05/10/2023 :  05:10:05 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Is there a way to have the lines be connected between the sim and the fit even if they are not horizontal ? sometimes they are vertical for me and even at an angle . meaning not completely vertical
Go to Top of Page

YimingChen

1651 Posts

Posted - 05/10/2023 :  10:07:33 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You may use the Vector Plot template. Please refer to the attached project file and video.


https://my.originlab.com/ftp/forum_and_kbase/Images/connectPoints.zip



James
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