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
|