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
 Tick labels, round 2.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Craters

USA
21 Posts

Posted - 02/02/2005 :  3:27:50 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5 SR5
Operating System: Windows XP Pro

Hi again, everybody --

(Meanwhile, back at the ranch...)

Okay. I'm back to doing a log-log plot, and this time it's the y-axis. My range goes from 0.1 to 10^9, and I'd like to have the axis labels read 10^-1, 1, 10, 10^2, 10^3, etc. The problem is this: the "Special Ticks" section of the "Custom Tick Labels" dialog will let me set up either the "1" or the "10", but not both, since neither one is at the beginning or end of the axis. I can get 1, 10^1, 10^2,..., or I can get 10^0, 10, 10^2,... Is there any way to get both the 1 and the 10 without exponents and keep the scientific notation (i.e., exponents) for the rest of the axis labels?

(As an aside or a suggestion, it would be neat to be able to enter the axis labels and formats into a column of a workbook that you'd like to use for a particular axis. They would most likely be entered manually, but that wouldn't be bad. There would then be an option to specify a column for the x-axis labels and/or y-axis labels, which would then be used in the figure. That would make for a pretty flexible system.)

Thanks yet again...

Mark

Mike Buess

USA
3037 Posts

Posted - 02/02/2005 :  4:12:18 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Mark,

You can label your Y axis however you like using the method you proposed.

1. Add a column to the worksheet and double-click to open its properties.
2. Under Options set Format to Text. OK to close dialog.
3. Enter the tick labels in the column in the format you want...

0.1
1
10
10^2
10^3
etc.

4. Plot the Y dataset and format both axes as log.
5. Use these settings on the Tick Labels tab for your Y axis.
...Type: Tick-indexed dataset
...Dataset: select the column you just created
6. OK to close dialog.

Your Y axis tick labels will look just like you entered them in the column.

Mike Buess
Origin WebRing Member
Go to Top of Page

Mike

USA
357 Posts

Posted - 02/02/2005 :  4:28:39 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Mark,

Mike has given you the method you are looking for. One thing I will add and that is that to get the superscripts to display the way that I think you'll want them to, you'll have to use what is known as an "escape sequence" (this is explained in your Help file under the topic of this name). So, in your worksheet, enter data as Mike suggested but modify it slightly...

10\+(-1)
1
10
10\+(2)
10\+(3)
etc.

This should then allow the superscript to display conventionally in the graph window.

One other method I will suggest (with a perfectly straight face): When all else fails, create a text label, set the label's Background to White Out in the text object's Properties dialog box, and paste it over the top of the uncooperative tick label.

Mike
OriginLab

Edited by - Mike on 02/02/2005 4:32:02 PM
Go to Top of Page

Craters

USA
21 Posts

Posted - 02/02/2005 :  4:40:28 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks, Mike! You guys are too much. You wouldn't do car problems, too, by any chance, would you??

This is GREAT -- thanks!

I DID manage to find something about two minutes ago, completely by accident. In the Tools|Options|Axis dialog, there's the checkbox to use 10^0 as 1 on axes that are labeled with scientific notation. I unchecked that sucker and at least got rid of the 10^0 problem, which takes care of my troubles for this graph, I think. Before I found that, I was resorting to the HTWO (high-tech white-out) solution: making a small white rectangle and covering the "1" exponent on the 10. Heh. It's called "desperation of the ignorant."

Thanks again, and thanks for your patience. I'm sure that your solution is in the manual somewhere, but I couldn't find it. Duh. Gotta look again.

Mark
Go to Top of Page

Craters

USA
21 Posts

Posted - 02/02/2005 :  4:48:17 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks, OL* Mike --

I guess your post showed up while I was typing my reply to Mike Buess. My HTWO solution was more of a brute force thing than your suggested method. I don't have the experience to finesse things the way you guys do (yet!). Soon as I get this #*^@! paper finished and sent out, I'm gonna try a bunch of the things you guys have been suggesting. My level of being impressed with Origin is growing exponentially as I get down to using it, I'll say that.

Of course, having you folks here to set me straight is a big plus, too...

Thanks --

Mark

*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