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
 Using text labels on x-axis

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
tmsthomas Posted - 10/11/2016 : 07:06:38 AM
Origin Ver. and Service Release (Select Help-->About Origin): 8.6
Operating System: Win 7

Hello,

I'm wondering, if it is possible to replace the x-axis label by some text. Here, is a example dataset I have plotted.


Now I want to replace Position 0 by start and Position 10 by end:



What I tried so far is the "Ticks from Dataset" Option, but when I'm choosing the C-Column the x-axis is missing completely.
Any idea how I can replace the datapoints by a text?

Thank you
Thomas
1   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 10/11/2016 : 2:54:34 PM
Hi Thomas,

First you should pay attention to the difference between "(makor/minor) ticks" and "tick labels";
You can place tick labels at the positions of the ticks.

Now, you see Graph1 in the following sample:



This is the approach what you have been taking. The options that you need to specify are in two locations
- one in Scale tab for ticks, and the other in Tick Labels tab.

Scale tab> Major Ticks> 
  Type="By Custom Positions", Position="[Book1]Sheet1!A"
Tick Labels tab> Display subtab> 
  Type="Tick-indexed dataset", Dataset Name="[Book1]Sheet1!C"

If you want to use the regular equi-spaced ticked instead of the custom tick positionst, you can specify
the "special ticks" in the "Special Ticks" tab. You get the graph like Graph2 above.

Special Ticks tab> => Add:
  "At Axis Value"=0, "Label"="Start"
 and  
  "At Axis Value=10, "Label"="End"

Hope this helps.

--Hideo Fujii
OriginLab

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