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
 X Axis problem when zoomming in and out in V8.6

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
newuser_ca Posted - 04/30/2012 : 3:24:44 PM
Windows 7, OriginPro 8.6.0(64-bit) Sr3

I noticed that when I press "Z" key to zoom in and then zoom out, the X axis became very ugly. Please see the attachment.

To fix this, I have to change the "Increment" in the "properties".

Can Origin do the scale automatically?

Before:


After zooming in and zooming out:
4   L A T E S T    R E P L I E S    (Newest First)
newuser_ca Posted - 05/01/2012 : 2:46:48 PM
Now it is much better.

I created the plot from OriginC. I added the following codes :
Axis axisx;
Tree tr;
axisx=gl.XAxis;
tr.Root.Scale.IncrementBy.nVal = 1;
tr.Root.Scale.MajorticksCount.nVal = 6;
...
axisx.UpdateThermeIDs(tr.Root);
axisx.ApplyFormat(tr, true, true);

The problem is solved.
Thanks a lot for the help!
Hideo Fujii Posted - 05/01/2012 : 11:29:37 AM
Hi newuser_ca,

I think you can set the "# Major Ticks" instead of "Increment" for the X axis (in the "Scale" tab in "X Axis" dialog) so that even when you zoom-in/out, the number of major tick labels stays the same.

Does it work?

--Hideo Fujii
OriginLab
newuser_ca Posted - 05/01/2012 : 11:10:28 AM
Thanks.

It is better, but it is not a perfect solution. It is ideal if Origin can scale by itself.

We use Origin as our plot software to show the result to the user. We don't want the user to configure the plot too much.

Any good idea?

Here is the result when I change the rotation angle (The more you zoom in then zoom out, the closer the X is):

Hideo Fujii Posted - 04/30/2012 : 5:51:00 PM
Hi newuser_ca,

How about to change the Rotation angle ("Custom Tick Labels" tab inX Axis dialog box) to show the tick labels vertically e.g., by setting it to 90? Zooming should keep the label orientation.

--Hideo Fujii
OriginLab

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