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
 Using text labels on x-axis
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

tmsthomas

7 Posts

Posted - 10/11/2016 :  07:06:38 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.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

Hideo Fujii

USA
1582 Posts

Posted - 10/11/2016 :  2:54:34 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
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