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
 axes ticks in increments of pi

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
moiraine Posted - 01/21/2015 : 11:00:22 AM
Suppose I have 1000 (x,y) data points (not evenly distributed) and my x axes ranges from 0 to 2\pi. I'd like to have major ticks as

0 0.5\pi \pi 1.5\pi 2\pi

and one minor tick between each. I know I can divide x values by \pi and add suffix \g(p), but that will give "0 \pi" and "1 \pi" as opposed to "0" and "\pi": i.e. for the two ticks corresponding to 0 and pi, I want them to be "0 \pi". How to achieve that in origin?
2   L A T E S T    R E P L I E S    (Newest First)
moiraine Posted - 01/22/2015 : 04:30:23 AM
Thanks! It worked flawlessly.

quote:
Originally posted by snowli

Not sure which version of Origin you are using.

In Origin 2015,
on Scale tab, you can set the scale to be from 0 to 6.28.
Major Ticks Type to be By Counts. Count =5.

On Display tab of Tick Labels tab
Set the type as Tick Indexed String.
Enter Display as
0 0.5pi pi 1.5pi 2pi

it will use these strings as major ticks labels.

Or use your way first so the axis scale is precisely 2*pi instead of just rounded 6.28.
Once you got 0pi, 0.5pi, 1pi, 1.5pi and 2pi, go to Display tab, to set as I mentioned above.

Thanks, Snow
OriginLab Corp.

snowli Posted - 01/21/2015 : 11:24:59 AM
Not sure which version of Origin you are using.

In Origin 2015,
on Scale tab, you can set the scale to be from 0 to 6.28.
Major Ticks Type to be By Counts. Count =5.

On Display tab of Tick Labels tab
Set the type as Tick Indexed String.
Enter Display as
0 0.5pi pi 1.5pi 2pi

it will use these strings as major ticks labels.

Or use your way first so the axis scale is precisely 2*pi instead of just rounded 6.28.
Once you got 0pi, 0.5pi, 1pi, 1.5pi and 2pi, go to Display tab, to set as I mentioned above.

Thanks, Snow
OriginLab Corp.

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