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
 log log scale minor tick label
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

maidlvuong

France
6 Posts

Posted - 02/23/2022 :  11:57:26 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 2021, 9.8.200
Operating System: Windows 10

Hello,

I want to draw a log-log scale plot with minor tick labels as 1,2,3 like in the figure below. In Origin, it will give me 0.02, 0.03, 0.05,....

Thank you very much!
Mai



Mai D.L. Vuong

ChaoC

USA
184 Posts

Posted - 02/23/2022 :  1:23:11 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Mai,

To change the minor tick labels please do the following:
-Double click the "X-axis" to bring up the axis dialog box
-Go to "Tick Labels">"Minor Tick Labels" where you will find "Display Format"
-In the "Display Format" field enter: S*1#
+The S displays the numbers in scientific notation
+The *1 denotes 1 significant figure
+The # modifies the label to only display the coefficient

Here is some documentation that may interest you:
https://www.originlab.com/doc/en/Origin-Help/AxesRef-TickLabels#Display_Format

I hope that helps!

Chao

Go to Top of Page

maidlvuong

France
6 Posts

Posted - 02/24/2022 :  07:16:03 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Chao,

It worked thank you!
I want to have smaller size of minor tick label by putting in Display format

\p50(%.1E)

What is the equivalent for # in this type of notation?

Thanksss!
Mai

Mai D.L. Vuong
Go to Top of Page

ChaoC

USA
184 Posts

Posted - 02/24/2022 :  12:56:30 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Mai,

\p50(%.0E) does display only the coefficient but I assume you don't want the scientific notation.
Thus, Origin lab does not support changing the size of minor tick labels while preserving the format we discussed previously. I have notified the developers to look into this.

In the meantime, I have come up with a workaround for you.

-In the X-axis dialog window, turn off minor tick labels for the “Bottom” x-axis.
-Check the Show tick box for the Top x-axis and format the minor tick labels with S*1# following the instructions in my previous post.
-In the “Display” tab to the left of “Minor Tick Labels”
+Change Type to Numeric, Format to Custom and type “S” in the Custom Format field

-Under the Lines and Ticks tab, enter “-100” into Percent/Value found in the Line section.

Please let me know if you have any other questions.

Chao
Go to Top of Page

maidlvuong

France
6 Posts

Posted - 02/24/2022 :  1:23:42 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Chao,

Thanks for the idea but this workaround removes the top axis of my graph.

For now, I choose to display minor tick labels in specified indices and format S*1#.

Let me know if you have another idea to try.

Thanks so much for your time!
Mai

Mai D.L. Vuong
Go to Top of Page

ChaoC

USA
184 Posts

Posted - 02/24/2022 :  1:59:08 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Mai,

You can add a new layer and link the x-axis 1:1 so that it has the same range as your original plot. You can turn on the top minor tick label for that layer.

Hope that helps!
Chao
Go to Top of Page

ChaoC

USA
184 Posts

Posted - 11/09/2022 :  12:43:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Mai,

I wanted to inform you that Origin 2023 has released and the Minor Tick Labels tab now includes a Font Scaler option.

Best,
Chao
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