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
 All Forums
 Origin Forum
 Origin Forum
 Plot non-stacked y-values on repeated x-values

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
bdcoenegracht Posted - 03/15/2023 : 10:42:34 AM
Origin Ver. and Service Release (Select Help-->About Origin): Origin 2020 (9.7.0.188)
Operating System: Windows 10

Hi all,

I was wondering if it is possible to plot a graph with data that contains repeating x-values which nonetheless show up separately on the x-axis. So for example if I had the following (x,y)-pairs in rows 1 - 6: (1,1); (2,2); (3,3); (1,1); (2,2); (3,3) it would show up like the following:



I have already tried converting the x-value column to text but no luck yet.
So if anyone knows if and how this is possible I'd like to hear :)
3   L A T E S T    R E P L I E S    (Newest First)
bdcoenegracht Posted - 03/15/2023 : 11:14:11 AM
Hi,

Thanks for the quick answer; I managed to "solve" it myself already.
The issue was that the column kept automatically switching to 'Categorical'; I don't know why it did, but disabling that made it work.
YimingChen Posted - 03/15/2023 : 11:11:44 AM
You can plot the y values against the row index first then label the x-axis tick label with the repeated 1,2,3 values. See the attached project file.
https://my.originlab.com/ftp/forum_and_kbase/Images/repeatXY.opju

James
snowli Posted - 03/15/2023 : 10:53:52 AM
Could you share the opju so we can reproduce since when i plot it, no extra plots in first 1, 2, 3

Thanks, Snow

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000